jaunesarmiento / fries

Fries helps you prototype Android apps using HTML, CSS, and JavaScript.
MIT License
1.55k stars 222 forks source link

Accidental Link Click Bug #53

Open xpose2000 opened 11 years ago

xpose2000 commented 11 years ago

I have an issue when you press a actionable link on your phone, the following pages link will also press if they are in the same location on the following screen.

This is most noticeable if you want to browse the top navigation. It will always click twice. However, it has happened for all of my inner pages and once I moved around the link locations then it stopped happening.

The best way to fix this is to come up with a 1 second (or perhaps 300ms) delay after push.js switches pages.

jaunesarmiento commented 11 years ago

Hi @xpose2000, I've been aware of the issue since I got a hold of a phone lately but I haven't got the chance to find a work around for it.

I'll look into it tomorrow ;-) I'll try your suggestion as well. Cheers!

m-vdv commented 11 years ago

Take a look at https://github.com/ftlabs/fastclick

jaunesarmiento commented 11 years ago

This issue is related to these:

jaunesarmiento commented 11 years ago

Although it seems that this doesn't happen on version 2.0.0. Can anyone else test this? Here's a sample Phonegap app using Fries: https://github.com/jaunesarmiento/fries-phonegap

Splact commented 10 years ago

I'm experiencing the same issue with v2.0.0