Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch events conflict with mobile browser built-in motions #7

Open
coreyshuman opened this issue Jul 13, 2021 · 0 comments
Open

Touch events conflict with mobile browser built-in motions #7

coreyshuman opened this issue Jul 13, 2021 · 0 comments

Comments

@coreyshuman
Copy link
Owner

Swiping actions in the demo conflict with browser actions, especially in chrome. For example:

  • Swiping right to open menu drawer also triggers "go back" action
  • Swiping down triggers "refresh" action
  • Swiping up triggers scroll even when not selecting the menu drawer

The usage of event.preventDefault() doesn't address the issue and triggers an error:

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See <URL>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant