akiran / akiran/react-slick

bug with aria-hidden

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

説明

Hello everyone! How are you? I have a very specific problem regarding lib and a prop called aria-hidden
![image](https://github.com/akiran/react-slick/assets/102080696/17f8ae79-cf01-4f79-ab17-8aa8dc369390)
When reloading multiple times via filter, there comes a certain moment where this prop simply becomes true. Notice how it looks when it behaves as expected::
![image](https://github.com/akiran/react-slick/assets/102080696/27d028b3-62f3-482c-a8bc-fd8be188e6f7)

I believe that solving it by forcing this to be modified via DOM is not a good practice. Have you ever been through this? What would be your solution?

`
{renderItems()}
`

` const SLIDE_SETTINGS = {
infinite: false,
dots: false,
arrows: true,
prevArrow: ,
nextArrow: ,
slidesToShow: 15,
slidesToScroll: 14,
touchThreshold: 500,
responsive: SLIDER_RESPONSIVE_SETTINGS,
speed: 500,
initialSlide: currentIndex
}`

`export const SLIDER_RESPONSIVE_SETTINGS = [
{
breakpoint: 1635,
settings: {
slidesToShow: 12,
slidesToScroll: 12
}
},
{
breakpoint: 890,
settings: {
slidesToShow: 10,
slidesToScroll: 10
}
}
]
/`

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

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

評価

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

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

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