akiran / akiran/react-slick

bug with aria-hidden

Abierto
#2,389 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
11.9k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.