"onComplete" never gets called when user interrupts scroll animation
See original GitHub issueWhen you set cancelOnUserAction
to true
and after scroll animation is interrupted by user’s action, the onComplete
never gets called. It would be nice to know if animated completed even if it was interrupted in the middle. I would like to help with PR, so just let me know if that’s a good idea.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Detect when a user interrupted UIScrollView animation
I am using Objective C. When the user drags and releases, the code detects which is the closest subview and automatically scrolls to...
Read more >Docs | Plugins | ScrollTrigger - GreenSock
ScrollTrigger creates jaw-dropping scroll-based animations with ... should be called when snapping gets interrupted (like if the user starts ...
Read more >Animation Techniques for Adding and Removing Items From a ...
Animating elements with CSS can either be quite easy or quite difficult depending on what you are trying to do.
Read more >The activity lifecycle | Android Developers
As a user navigates through, out of, and back to your app, the Activity instances in your app transition through different states in...
Read more >The Psychology of Your Scrolling Addiction
And what does it take to pull yourself out and get back to the work you want to be doing? In this piece,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Published in v1.3.0 🎉
onComplete
now receives a boolean argumentisCanceledByUserAction
https://github.com/Stanko/animated-scroll-to/pull/27
Great! I’m happy to help with PR if needed.