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

autoPreventDefault=true stops click events on iOS Safari #56

Open
dnasir opened this issue Dec 2, 2020 · 0 comments
Open

autoPreventDefault=true stops click events on iOS Safari #56

dnasir opened this issue Dec 2, 2020 · 0 comments

Comments

@dnasir
Copy link

dnasir commented Dec 2, 2020

The autoPreventDefault option allows me to stop the Safari browser from triggering the accessibility zoom when the user uses pinch to zoom on iOS. Unfortunately, it also prevents any click events from being fired.

See the example below on a regular desktop, and then on any browser on any iOS device (since they all run WebKit anyway). You will find that the click event handler gets triggered on non-iOS devices, but not on iOS. However, this phenomenon does not occur on the desktop version of Safari on my Mac.

https://jsfiddle.net/dzul1983/dy6wro9L/2/show

I don't know if this is a bug with the plugin, or with pixi.js, but since I first encountered it while using this plugin, I thought I'd post this here first.

Let me know if you need more information.

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