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

glider-slide-visible called sporadically #245

Open
tsanstef opened this issue Jan 14, 2023 · 2 comments
Open

glider-slide-visible called sporadically #245

tsanstef opened this issue Jan 14, 2023 · 2 comments

Comments

@tsanstef
Copy link

Hi, I observed a strange behavior related to the glider-slide-visible event. Whenever slidesToShow is set to an integer 1,2,3,4.., the event does not get always fired when scrolling/dragging. When I change the slidesToShow to a float (with a sufficiently large decimal, say min .05, for example slidesToShow=1.1), I get the even reliably. It seems to me that unless the slide's size is less than 100% the width of the slider, one will not always get 'glider-slide-visible' when dragging/scrolling the slides.

And as a result, I cannot rely on this event :(. Is this a known issue or maybe there is a 'trick' that I am not aware of?

@tsanstef
Copy link
Author

I am using version 1.7.8.

@NickPiscitelli
Copy link
Owner

Are you able to provide a codepen reproducing the issue?

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