ftlabs / fastclick

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

iframes in pages saved to home screen on iOS8 don't get clicks bubbled down #321

Closed ghallberg closed 9 years ago

ghallberg commented 9 years ago

When using FastClick on a page with iframes, if the user saves the page to home screen in iOS 8, the iframe will not receive click events.

Adding class="needsclick" to the outermost iframe (our client had multiple layers) makes the clicks bubble down as expected.

@pornel created a pull request for this: https://github.com/ftlabs/fastclick/pull/315

ghallberg commented 9 years ago

I'm not sure if @pornel got the mention in the edit so here's another one if you want to add something.

matthew-andrews commented 9 years ago

That PR has been merged so I think this issue has been fixed now.

ghallberg commented 9 years ago

Yes yes, thank you!