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
I have a drag handle set to a modal "title bar" but that incudes buttons, like a close button. I want the drag to happen when a user drags the bar but it also happens when they drag the buttons.
I didn't see any docs on this so I assume the best approach is to cancel mousedown events on those buttons?
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
-
I have a drag handle set to a modal "title bar" but that incudes buttons, like a close button. I want the drag to happen when a user drags the bar but it also happens when they drag the buttons.
I didn't see any docs on this so I assume the best approach is to cancel
mousedown
events on those buttons?Beta Was this translation helpful? Give feedback.
All reactions