You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to enforce a minimum distance threshold when you pointerdown before the drag begins?
My elements are also clickable, and a side-effect of them being draggable is that if you are not super precise with your pointer down (absolutely still, don't move even 1 pixel), the click is essentially ignored, because the drag takes over. But you didn't actually want to drag in this case, and nothing moves.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to enforce a minimum distance threshold when you pointerdown before the drag begins?
My elements are also clickable, and a side-effect of them being draggable is that if you are not super precise with your pointer down (absolutely still, don't move even 1 pixel), the click is essentially ignored, because the drag takes over. But you didn't actually want to drag in this case, and nothing moves.
Beta Was this translation helpful? Give feedback.
All reactions