Nested pan-gestures get started at the same time after adding activateAfterLongPress() #3861
Replies: 3 comments 1 reply
|
Okay, |
0 replies
|
Happy to say this kinda works, (there are still times where parent is selected instead of child) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
My goal: To allow scrolling by default and only "disable scrolling" when a "draggable" is active
My knowledge is poor and honestly I'm having a hard time trying to understand things
The code below (with the commented parts) work the opposite; scroll view is "disabled" and draggables are getting dragged
However, when I add
activateAfterLongPress(250), when I try to drag the inner box, the parent box also gets "started" (isActive.value = true; gets invoked)Screen.Recording.2025-12-04.at.12.21.59.PM.mov
I haven't tried checking the built-in components yet.. will do so in a bit
I'm currently testing on simulator iPad Pro (M4) iOS 17.5
Maybe related:
All reactions