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

Nested slider problem #104

Closed
iforcode opened this issue Aug 8, 2020 · 3 comments
Closed

Nested slider problem #104

iforcode opened this issue Aug 8, 2020 · 3 comments

Comments

@iforcode
Copy link

iforcode commented Aug 8, 2020

I just create three slider

  1. Main slider
  2. A thumb slider
  3. Nested slider inside main slider

But that not working well, you can see at demo: https://jsfiddle.net/bcLzm5d7/
How to do that thanks.

@NaotoshiFujita
Copy link
Collaborator

Disable autoHeight because it is for a vertical slider.
https://splidejs.com/auto-width/

Modified:
https://jsfiddle.net/vs1b2Loy/

@iforcode
Copy link
Author

@NaotoshiFujita Thank for that. But has any option to disable parent slide swipe while swiping child slide?

@NaotoshiFujita
Copy link
Collaborator

NaotoshiFujita commented Aug 12, 2020

No, because there is no way to know whether users want to drag a parent slider or child one. In your case, you want to drag a nested slider first, but others may want to do a parent one.

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