Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Fastclick is no longer required in iOS 10? #514

Open
nicmar opened this issue Jan 5, 2017 · 10 comments
Open

Fastclick is no longer required in iOS 10? #514

nicmar opened this issue Jan 5, 2017 · 10 comments

Comments

@nicmar
Copy link

nicmar commented Jan 5, 2017

Try this demo on an iOS 10 device:
http://ftlabs.github.io/fastclick/examples/layer.html

There is very little difference now, button A gives 10-20ms delay on my iPhone 6s and iPhone 5c, instead of 300ms as before. I'm not sure if this is new to iOS 10 or already in iOS 9.

I'm interested to hear if anyone else has similar experiences.

@wulfsolter
Copy link

A couple of years now.. https://developers.google.com/web/updates/2013/12/300ms-tap-delay-gone-away
Hence why this repo is a bit of a ghost town these days..

@movedoa
Copy link

movedoa commented Feb 15, 2017

Only if your viewport is exactly the device-width, if you zoom in a bit or have a different vieweport, the delay still exists

@cmermingas
Copy link

Also, if you "optimize" your web application by adding the apple-mobile-web-app-capable meta tag, as documented by Apple, and you add the page to your home screen, the delay comes back.

Try it out here (install it in your home screen):

https://cmermingas.github.io/fastclick/examples/layer.html

I am not sure why this happens and I am very grateful for Fastclick.

@liufeisprit
Copy link

i don't know

@gazpachu
Copy link

gazpachu commented Aug 4, 2017

@cmermingas I have that exact issue when adding the web app to the home screen. Have you found out a fix?

@gazpachu
Copy link

Nop. TBH, I haven't looked for one yet

@artuska
Copy link

artuska commented Jan 10, 2018

300ms delay still exists when running in WebView (eg. Cordova).

@geekchow
Copy link

Because the cordova use the UIWebView rather than WKWebView, and the UIWebView haven't fix the delay issue.

@githubhwen
Copy link

I still hace this problem in IOS 12, the input box is difficult to focus.

@GitToTheHub
Copy link

Because the cordova use the UIWebView rather than WKWebView, and the UIWebView haven't fix the delay issue.

You can use https://github.com/apache/cordova-plugin-wkwebview-engine
It's easy to integrate :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants