Skip to content

Loading…

Need a way to cancel track and tap from down #1823

Closed
azakus opened this Issue · 1 comment

2 participants

@azakus azakus added the p1 label
@azakus azakus self-assigned this
@ebidel
Owner

/sub

@azakus azakus referenced this issue from a commit
@azakus azakus Allow user prevention of `tap` and `track` gestures from `down`
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
11869f2
@sorvell sorvell closed this in #1843
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.