Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Game.input.onUp (and others) run twice on iOS


Recommended Posts



It seems that game input events run twice (one click => 2 runs) on iOS. It’s normal? It can create performance issues.


console.log("click"); //display "click" 2 times for one real click on iOS
}, this);


Set game.input.maxPointers = 1; doesn't change anything.


On desktop it works correctly.




Link to comment
Share on other sites

I found the origin of this issue.


I used a touchHandler function to make work my UI (dialogs) on desktop and mobile. These create a double run in mobile…

document.addEventListener("touchstart", touchHandler, true);


Sorry for the inconvenience.
Link to comment
Share on other sites


  • Recently Browsing   0 members

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