dickhardt / A2P3_agent

Personal Agent for A2P3
1 stars 1 forks source link

touch responses latency #6

Closed GregTurner closed 11 years ago

GregTurner commented 11 years ago

Browser click events are too slow in iPhone device making the pin pad noticably slow. This is a widely known issue. Several solution include google fast button or a simple touch start event.

http://floatlearning.com/2011/03/developing-better-phonegap-apps/

dickhardt commented 11 years ago

ouch …

On Jan 22, 2013, at 5:58 PM, GregTurner notifications@github.com wrote:

Browser click events are too slow in iPhone device making the pin pad noticably slow. This is a widely known issue. Several solution include google fast button or a simple touch start event.

http://floatlearning.com/2011/03/developing-better-phonegap-apps/

— Reply to this email directly or view it on GitHub.

GregTurner commented 11 years ago

Yes feel my pain. My architecture was all roses until now. Not to worry, I have an ace in the hole. I can always break into a native control.

GregTurner commented 11 years ago

Timing JS code on iPhone show handling key press is < 10ms.

Using $.mobile.buttonMarkup.hoverDelay = 0; helps visual appearance only.

GregTurner commented 11 years ago

fixed, near native performance! improves overall performance not just pin pad.

thanks fastclick! https://github.com/ftlabs/fastclick