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

reInit breaks tabindex #54

Open
dragoss opened this issue Dec 20, 2021 · 0 comments
Open

reInit breaks tabindex #54

dragoss opened this issue Dec 20, 2021 · 0 comments

Comments

@dragoss
Copy link

dragoss commented Dec 20, 2021

Hello,

First of all I want to thank you for your awesome work!
Secondly, I have an issue when I'm trying to dynamically change any of the carousel's options by calling setOption with refresh: true. The result is that tabindex: -1 is removed for all focusable elements in all slick-cloned that are appended at the end, so elements inside the cloned slides can be focused (also the carousel moves and breaks).

I've created an example here. I turned off the autoplay, because if the carousel moves, the issue goes away.

The issue seems to be related to reInit, which does not call updateSlideVisibility.

Thanks in advance!

Regards,
Dragos

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