Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

Feature Request: cancel method #499

Open
brandonmcconnell opened this issue Jul 20, 2022 · 0 comments
Open

Feature Request: cancel method #499

brandonmcconnell opened this issue Jul 20, 2022 · 0 comments

Comments

@brandonmcconnell
Copy link

It would be great to have a method to call to forcibly cancel a scroll that has already been initiated using scroll-js. This way, if a user starts manually scrolling or performs a pointer/touch event during the scroll, I can cancel the scroll to freeze the frame at the time they trigger that event.

This would be similar to the cancelScroll method from @cferdinandi's smooth-scroll package.

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

No branches or pull requests

1 participant