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
Currently the track event will preventDefault the mouse events to stop selection. However, there is no way for the user to control this behavior.
Instead, we should provide API on the down or track event to enable this behavior.
This would be a minor breaking change, requiring devs to use user-select: none or preventDefault on down or track event.
New API: `event.detail.prevent('tap')` and `event.detail.prevent('track')`
Fixes#1823
Forward `preventDefault` from gesture events to source events
`gesture.preventDefault()` is equivalent to
`gesture.detail.sourceEvent.preventDefault()`
Remove `preventDefault()` on mousemove in track, user must use
`track.preventDefault()` to hide user selection or use `user-select:none`
Fixes#1824
Currently the track event will
preventDefault
the mouse events to stop selection. However, there is no way for the user to control this behavior.Instead, we should provide API on the
down
ortrack
event to enable this behavior.This would be a minor breaking change, requiring devs to use
user-select: none
orpreventDefault
ondown
ortrack
event.@frankiefu @blasten
The text was updated successfully, but these errors were encountered: