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

Kill scroll on user scroll #158

Open
denkristoffer opened this issue Feb 7, 2018 · 3 comments
Open

Kill scroll on user scroll #158

denkristoffer opened this issue Feb 7, 2018 · 3 comments

Comments

@denkristoffer
Copy link

denkristoffer commented Feb 7, 2018

GSAP's ScrollToPlugin has a very nice option that lets you cancel a scroll when the plugin detects that the scroll position is being changed—i.e. if a user decides to scroll during the tween. Is it possible to support something like this with scroll-into-view-if-needed?

Edit: See https://github.com/greensock/GreenSock-JS/blob/master/src/uncompressed/plugins/ScrollToPlugin.js#L122-L136 for reference

@stipsan
Copy link
Member

stipsan commented Feb 7, 2018

Great idea! 👍 I'm swamped at work and don't know when I'll have time to get back into scroll-into-view-if-needed. But if anyone makes a PR with this I'll review and release for sure 😄

@Brokray
Copy link

Brokray commented Feb 6, 2020

Hello guys, any news about this ?

@nghiepdev
Copy link

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants