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

Fade property messes up onClick actions on slides #852

Closed
sergioavazquez opened this issue Sep 7, 2017 · 2 comments
Closed

Fade property messes up onClick actions on slides #852

sergioavazquez opened this issue Sep 7, 2017 · 2 comments

Comments

@sergioavazquez
Copy link

I'm using react-slick as the main slideshow and carousels on my site. Whenever fade property is off, everything works fine but when set to true, onClick functions get mixed up.

To recreate on fiddle, open js console, navigate slides and click on them. The behavior I get on my site is similar, instead of executing always the last slides's action it executes the previous slide's action.

Regardless, the key factor here is that if fade is set to false everything magically works just fine.

@nicotroia
Copy link

Same issue here. It seems like in "fade" mode, the hidden slides are actually on top of the current one which is causing pointer issues. I hacked my css to add .slick-active { z-index: 999; } as a workaround to fix input bugs

@laveesingh
Copy link
Contributor

to be fixed by: #853

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

3 participants