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

How to prevent scrolling on axis Y? #180

Open
AlexanderKozhevin opened this issue Oct 17, 2022 · 1 comment
Open

How to prevent scrolling on axis Y? #180

AlexanderKozhevin opened this issue Oct 17, 2022 · 1 comment

Comments

@AlexanderKozhevin
Copy link

On mobile device you have to use area outside of slider to scroll down.
But of slider we use only axis X.

@JoeGermuska
Copy link
Member

I'm not sure I understand your question. My guess was that you had a circumstance where, while someone was interacting with a juxtapose slider, they were accidentally scrolling the page when their drag inside the slider included a Y (vertical) component.

If that's the case, I tried to reproduce it using the demonstration slider on juxtapose.knightlab.com -- when I use this on my iPhone, using either Safari or Chrome browsers, there's no sign of vertical scrolling.

Can you provide an example of a page where the problem is noticeable? A short video/animated gif might also help make sure we're talking about the same thing.

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