akiran / akiran/react-slick

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

Aperta
#1,795 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
11.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.