akiran / akiran/react-slick

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

Open
#1,795 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11.9k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.