Jump to content

game.input.touch.preventDefault=true makes touch fire multiple times


fzuleta
 Share

Recommended Posts

Hi! 

Im working on a webapp, and found out that in Safari I cant scroll by touching the phaser area. so I added

game.input.touch.preventDefault = true;

The problem Im having is that testing using the mouse works great. testing in the device itself (or in chrome's device testing), touch signals go a bit crazy, as if fired twice.

has anyone experienced this as well? 
My goal is: Scroll enabled (so the user can remove the browser's topbar) and touch working as expected.

Cheers!
Felipe

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...