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

Prevent double-click from advancing slider twice. #162

Open
blueskysd opened this issue Feb 16, 2016 · 2 comments
Open

Prevent double-click from advancing slider twice. #162

blueskysd opened this issue Feb 16, 2016 · 2 comments

Comments

@blueskysd
Copy link

I'm using Liquid Slider to separate several parts of a form onto different slides. Therefor, I need the user to advance through the slides one at a time. It's been working great, but recently I discovered that in some browsers (Chrome and Safari on Mac, for sure) double-clicking the arrow causes the slider to advance two panels at a time.

I've tried everything I can think of to stop this from happening - including preventDefault and stopPropagation. How can I make sure double-clicking only advances one slide?

@KevinBatdorf
Copy link
Owner

I would disable the arrow navigation and use the API function to move the slider. You can view and example here.

@blueskysd
Copy link
Author

Thanks, Kevin. I will give that a shot.

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

2 participants