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

onBeforePageScroll does not work as expected #67

Closed
hugoh59 opened this issue Nov 5, 2020 · 4 comments
Closed

onBeforePageScroll does not work as expected #67

hugoh59 opened this issue Nov 5, 2020 · 4 comments

Comments

@hugoh59
Copy link

hugoh59 commented Nov 5, 2020

onBeforePageScroll fires multiple times during the scrolling and there are no way to find out when when the page starts scrolling and when it is done.

@VikLiegostaiev
Copy link
Owner

Hi @hugoh59 , I've just tested once again and onBeforePageScroll is called once before scroll occured with the index of next page in argument. Probably you are doing something wrong. Please, attach the reproduction here.

@VikLiegostaiev
Copy link
Owner

I believe it is called multiple times when you scroll two slides at once. There is issue created on such behaviour. However, if onBeforePageScroll is called twice during one slide, attach the repro pls

@Semantisby
Copy link

onBeforePageScroll is missing from npm version

@VikLiegostaiev
Copy link
Owner

VikLiegostaiev commented Mar 6, 2021

onBeforePageScroll is missing from npm version

@Semantisby I've just tested with version 2.1.0 - all works

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