ftlabs / fastclick

Polyfill to remove click delays on browsers with touch UIs
MIT License
18.66k stars 3.23k forks source link

layer.html example broken on Android #2

Closed pwryan81 closed 12 years ago

pwryan81 commented 12 years ago

Hi Guys. Good work! Tried the layer.html on iPad and works beautifully. Viewing demo direct from: http://ftlabs.github.com/fastclick/examples/layer.html

However, there are issues on Android (Samsung Galaxy Nexus running ICS 4.0.4.)

On default Android browser (4.0.4): Layer A responds, Layer B does not respond at all;

On Chrome for Android (18.0.x): Layer A responds, Layer B toggles Layer A's state.

Cheers.

PS. Just tried the older version of FastClick (http://labs.ft.com/wp-content/uploads/2011/08/fastclickdemo.html) and the result is the same. Hope this helps.

mattcg commented 12 years ago

Thanks for the report. What device are you using?

On 24 Aug 2012, at 05:36 AM, fwebdev notifications@github.com wrote:

We have s simmilar issue. But on Chrome for Android no link at all is working when using fastclick.js! There are no click-Events used on some pages but the links are not working. As soon as I uncomment the fastclick.js it is working again.

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

fwebdev commented 12 years ago

I deleted my Comment, because it behaves a bit different. It seems to me that he shuffels all events up. Clicking on a top right link triggers a link / onclick on the middle of the page. And somethime a does nothing at all when clicking on a href.

The "fix" is to remove fastclick.js

I tested it on a Samsung Galaxy Acer, Samsung S2 and S3. All with latest Chrome and Android 4.0.4 up to 4.1

On Fri, Aug 24, 2012 at 5:00 PM, Matthew Caruana Galizia < notifications@github.com> wrote:

Thanks for the report. What device are you using?

On 24 Aug 2012, at 05:36 AM, fwebdev notifications@github.com wrote:

We have s simmilar issue. But on Chrome for Android no link at all is working when using fastclick.js! There are no click-Events used on some pages but the links are not working. As soon as I uncomment the fastclick.js it is working again.

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

— Reply to this email directly or view it on GitHubhttps://github.com/ftlabs/fastclick/issues/2#issuecomment-8003847.

Twitter: @fwebdev http://goo.gl/N1MKB XING: https://www.xing.com/profile/Florian_Weber7

mattcg commented 12 years ago

@fwebdev Yours is a separate issue. I've moved it to #3.