How do I manage momentum mouse events? #7219
Unanswered
tansanDOTeth
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I scroll on a trackpad, there's momentum. Even after my fingers are off the trackpad, the mouse events will continue to fire. If I hold control and scroll then let go of the control key, the mouse events will go to from
wheelZoom$
towheelPans$
. That is functionally correct given the code above. However, I would like to create a behavior wherewheelZoom$
will capture all the events even after the control key is let go. Is there a way for me write the observable in a way to havewheelZoom$
catch the remaining mouse events until it's finished?Beta Was this translation helpful? Give feedback.
All reactions