html-next / ember-hammertime

TouchAction (aka "fastclick") Support for Ember Applications
MIT License
56 stars 23 forks source link

Is hammertime still necessary in modern mobile browsers? #74

Open RobbieTheWagner opened 5 years ago

RobbieTheWagner commented 5 years ago

I admit I know nothing about the subject, but do we still need to be using this or is support for removing click delays on taps just built in these days? This SO post seems to indicate it's all built in https://stackoverflow.com/questions/42250283/is-fastclick-js-still-needed as does this https://github.com/ftlabs/fastclick/issues/514 @runspired @eriktrom

eriktrom commented 5 years ago

YMMV is the honest truth - https://bugs.webkit.org/show_bug.cgi?id=150604

I wish i had a better answer than 'it depends' but i don't. Apple does what it wants, based on heuristics, w/o even telling which of their webviews or ios versions webkit bugs are applied to.

worth noting though is that hammertime is very simple, it just adds an linline touch-action: manipulation style to interactive elements. Changing this from a developer perspective is much easier on a case by case basis than the timer based approach that ftlabs/fastclick uses.

happy hacking :)

eriktrom commented 5 years ago

lol its u robert -

here, more links:

2013 they said, yay, its fixed: https://developers.google.com/web/updates/2013/12/300ms-tap-delay-gone-away

2018: unresolved bug remains https://bugs.webkit.org/show_bug.cgi?id=151077

anywho