Open vincentsartoko opened 1 month ago
Are you able to reproduce this outside of the inspector (ie real device)?
Are you able to reproduce this outside of the inspector (ie real device)?
Yes, I deployed on production as a webapp, and an Android webview through CapacitorJS.
The example from the docs you're referring to and showing in the issue: are you able to reproduce this on a real device with a normal browser?
@dbismut Yes I could reproduce it on my phone, and some of our users. How about from your side?
No, I can't, hence why I'm asking. I'm using an iPhone 15 Pro and Safari. Reason why I'm asking about context and devices is because I think it might be related to pointer capture but there's no reason why it wouldn't work normally on regular devices.
@dbismut all occurances happened on Android phones, FYI I use Samsung S22 ultra.
Describe the bug When using
useDrag
wherevelocity
is greater than 1, there is a moment where you cannot click anywhere else. The behaviour is similar to clicking a shadow overlay that doesn't register anything, and everything seems fine after you click this shadow overlay. This also happens on the official site of use-gesture, take a look at the video below.Sandbox or Video Here is the bug on the use-gesture website:
https://github.com/user-attachments/assets/dd7e2b74-fb9b-44bf-940a-bd44a4ac6610
Here is the detailed
console.log
on my app:https://github.com/user-attachments/assets/872604f0-0e3a-4b5a-bee4-674e49fddc42
Information:
Checklist:
touch-action: none
to the draggable element.