Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug with aria-hidden #2389

Open
wenmacedo opened this issue Jul 10, 2024 · 0 comments
Open

bug with aria-hidden #2389

wenmacedo opened this issue Jul 10, 2024 · 0 comments

Comments

@wenmacedo
Copy link

Hello everyone! How are you? I have a very specific problem regarding lib and a prop called aria-hidden
image
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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant