bug with aria-hidden
wenmacedo opened this issue · 0 comments
wenmacedo commented
Hello everyone! How are you? I have a very specific problem regarding lib and a prop called aria-hidden
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::
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?
<Slider ref={sliderRef} onSwipe={handleSwiped} {...SLIDE_SETTINGS} > {renderItems()} </Slider>
` const SLIDE_SETTINGS = {
infinite: false,
dots: false,
arrows: true,
prevArrow: <Arrow left />,
nextArrow: <Arrow right />,
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 } } ] /