jahu00 / Rikaikyun

Rikaichan based Phonegap app for reading Japanese text
5 stars 2 forks source link

Touchend not triggering on T68 sometimes #4

Open jahu00 opened 9 years ago

jahu00 commented 9 years ago

It's possible this is a general problem with T68 and little can be done, but it might be also caused by FastClick.

jahu00 commented 9 years ago

After using T68 some more I discovered that it will spontaneously fail a touch (probably through touchcancel event). It's possible the browsers doesn't handle touchcancel correctly or FastClick is interfering with it.

jahu00 commented 9 years ago

The problem seems to be caused by the viewport not registering that a touch has ended when touchcancel is called. I tried manually triggering touchend on touch cancel to prevent this, but it didn't work.