akiran / akiran/react-slick

applying `:after` CCS pseudo to one element of a carousel affects all elements

Abierto
#1,795 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
11.9k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

When applying `:after` CCS pseudo to one element of a carousel, it affects all elements.
Example: https://codesandbox.io/s/react-slick-playground-lweop?file=/index.css

When inspecting the structure, the `after` seems to be correctly attached to just the desired slide.

producing the desired effect.

However, other slides are also being affected by that `after`, which is not the intention.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.