"use-long-press" successfully triggers even with movement, but then does not finish when released #41
Replies: 2 comments 1 reply
-
Hey, when you set There may a be a few reasons for that:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Closing as I've decided this approach isn't going to work for me (even if I get the long press to work the way I want) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to build a small app that will change content as long as the finger is held down but will immediately change back when released. Here's the options I'm using:
This works pretty well, but the only case where I'm having issues is if the long press moves around it successfully triggers, but then releasing the long press does not trigger the "onFinish":
In the screen recording below, you can see that the "long pressed" message appears and the content changes. But when I release the tap (around the time the scrolling stops) the "finished" message does not appear until I click on the webpage again.
If I keep the tap in the same location without moving it, it works exactly how I would expect.
What setting do I need to change to get this behavior?
Beta Was this translation helpful? Give feedback.
All reactions