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

Gallery swipes unintentionally horizontally when scrolling down on page with slider #472

Open
sdeiss1977 opened this issue Mar 10, 2021 · 3 comments

Comments

@sdeiss1977
Copy link

I have an issue with your slider on your examples page on my mobile phone.
URL: http://sachinchoolur.github.io/lightslider/examples.html

Issue:
When I scroll down the page and pass a slider, the slider moves horizontally ALTHOUGH I am only scrolling down the page vertically without moving my thumb left or right.

Desired result:
When I scroll down a page that contains a lightslider, the slider does not move. The slider shall only move when I move my thumb horizontally on the slider.

Please see the following screencast with my issue:
https://www.dropbox.com/s/8v76lcnk8ulos0h/vidma_recorder_10032021_111205.mp4?dl=0
In the video I am only scrolling up or down, but never left or right.

How can I solve this issue?

@agursoy
Copy link

agursoy commented Apr 23, 2021

+1

@agursoy
Copy link

agursoy commented Apr 26, 2021

Hi @sdeiss1977 have you found any solution?

@appelgran
Copy link

bomsn solved this with pr #471 (also solving issues #430 and #384)

You can replace your 1.1.16 version with this file from the PR https://raw.githubusercontent.com/sachinchoolur/lightslider/e70d852c82120eaff43b29189bbc7aefa2296934/src/js/lightslider.js

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