Search code examples
ioshtmlphonegap

unresponsivness with buttons on phonegap


I am trying to design a simple game on phone gap with HTML5. On the phone if I try to click a button it will only work if my finger doesn't move at all while on the button. This means it only works if you tap it slowly and carefully.

Is there any way to make it so I can click the button and always get it to respond even if my finger moves a little?


Solution

  • If you are waiting for a click event you maybe facing a 300ms delay problem which is nicely handled by FastClick package