Skip to content

Conversation

@dan8f
Copy link
Contributor

@dan8f dan8f commented Sep 27, 2019

Fixes #3371.

Touch event listeners are passive by default in some browsers and calling preventDefault inside passive event listeners is not allowed.

This is the only case I've come across but there might be more cases in the code base.

Touchmove event listeners default to true in Chrome. Calling preventDefault inside passive event listeners is not allowed.
@etpinard etpinard added status: reviewable bug something broken labels Sep 30, 2019
@etpinard etpinard added this to the v1.50.0 milestone Sep 30, 2019
@etpinard
Copy link
Contributor

This looks good. I didn't notice any regressions while testing on mobile Chrome and FF

Thanks for the PR!!


I'll go ahead on merge this thing even though test-image fails. This problem has been fixed in master and won't be an issue going forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug something broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Passive event listener error on mobile on drag

2 participants