akiran / akiran/react-slick

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

Đang mở
#1,795 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
11.9k
Fork
2.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.