akiran / akiran/react-slick

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

オープン
#1,795 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
11.9k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。