akiran / akiran/react-slick

bug with aria-hidden

Aperta
#2,389 0 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

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
}
}
]
/`

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.