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

WebKit Fast-tap #444

Open
madskonradsen opened this issue Dec 15, 2015 · 8 comments
Open

WebKit Fast-tap #444

madskonradsen opened this issue Dec 15, 2015 · 8 comments

Comments

@madskonradsen
Copy link

According to WebKit, they now respect non-scaleable pages, and don't set the 350ms delay. Will this affect pages running with FastClick(for example, result in double-clicks)?

https://webkit.org/blog/5610/more-responsive-tapping-on-ios/

@cvrebert
Copy link

Also, could support for this fast-tapping be detected, and could fastclick.js disable itself in that case?
Seems like you could check for (is_iOS && supportsCssProperty('touch-action')), given that touch-action support ought to land in the same release as the viewport heuristic.

@NickColley
Copy link

With this being shipped earlier than expected (https://developer.apple.com/library/prerelease/mac/releasenotes/General/WhatsNewInSafari/Articles/Safari_9_1.html#//apple_ref/doc/uid/TP40014305-CH10-SW1) it'd be good to get this patch in, or at the very least update the docs so say Fastclick isnt needed on modern browsers! (Love the work done and its invaluable but yay)

@cvrebert
Copy link

@NickColley But we don't yet know whether iOS 9.3 has Safari 9.1, do we?

@NickColley
Copy link

According to Dean it's in the latest beta, so looks promising, https://twitter.com/grorgwork/status/686711911589609472

@RMMJR
Copy link

RMMJR commented Apr 24, 2016

It looks like as long as you have the property set to -webkit-touch-action: manipulation on the element being touched the initial zoom coild be set to a global 1, or it must have both implimented.

@piperchester
Copy link

Running iOS 9.3.5 and not able to see the effects of touch-action: manipulation on Safari Mobile.

User agent string says that I'm running Safari 9.0 -- are all iOS 9.x devices not able to use touch-action?

@cvrebert
Copy link

@piperchester
Copy link

Thanks for the quick response @cvrebert. I'm trying to apply touch-action: manipulation to an input field and still see the 300ms delay before keyboard and cursor appear.

Do I need to apply it to a container as well? Are there any other gotchas here? It's deeply nested within divs, and meta-tag also has the recommended device-width settings so I'm not sure what the issue is.

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

5 participants