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

Can't click on buttons any longer after binding TAP event. #72

Open
peterdfinn opened this issue Jan 30, 2020 · 2 comments
Open

Can't click on buttons any longer after binding TAP event. #72

peterdfinn opened this issue Jan 30, 2020 · 2 comments

Comments

@peterdfinn
Copy link

peterdfinn commented Jan 30, 2020

I'm making a game in Phaser, and I'm using ZingTouch to help with swipe gestures that are part of gameplay. In Firefox, after I bind a Tap event to document.body, I can no longer click on buttons in the game, even after I unbind said event. This is not a problem in Chrome; just Firefox, and just in the desktop version for Windows. Does anyone know why that might be?

@joegaudet
Copy link

I'm also observing this.

@fonziemedia
Copy link

fonziemedia commented Sep 9, 2020

Same issue here, seems extended to chrome too now. My solution was to tap the event to the specific element id instead of document.body. Seems fixed now.

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

3 participants