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

 Share

  • Recently Browsing   0 members

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