ftlabs / fastclick

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

Add Note: Fastclick since iOS 9.3 not longer neccessary when using WKWebView #591

Closed GitToTheHub closed 4 years ago

GitToTheHub commented 5 years ago

Hi, since iOS 9.3, when using WKWebView, the 300-350ms delay is gone. In Android it's gone since Chrome Version 32+. Could you maybe add this hint on your readme? Thanks.

Related Issue here: https://github.com/ftlabs/fastclick/issues/514 Webkit-Bugfix: https://bugs.webkit.org/show_bug.cgi?id=153180 (see second last comment)

(In UIWebView the fix is not working!)

bmitchinson commented 4 years ago

This is now addressed in the readme and can be closed, thanks 👍

GitToTheHub commented 4 years ago

In which readme? I couldn't find it in the readme of this git-repo.

bmitchinson commented 4 years ago

image

GitToTheHub commented 4 years ago

Ah ok, i think i saw this notice already before i opened this issue. Because it's not explicit when you are an app developer. If you develop for Apple it's important to know that you must develop with the WKWebView component instead of the UIWebView component to avoid this problem. But I don't care. I don't want to put too much energy in this here.

GitToTheHub commented 4 years ago

I was right, the comment is from 2016: https://github.com/ftlabs/fastclick/commit/4e409926198147f24a49c293923d2a2a047c3774 Thank's for adressing it NOW in the readme ..