TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

300ms tap delay removed on Chrome for Android

309 pointsby groodtover 11 years ago

23 comments

jblowover 11 years ago
I agree that latency is terrible, but this is bad design that actually makes the situation worse. Now instead of a constant, learnable latency, you have latency that varies wildly depending on what page you are on.<p>This is the wrong solution, in that it makes things more complicated and results in a generally poor experience even after the change. But that is what Google does all the time in UI, so I guess I have no reason to be surprised by this.<p>The proper solution: Do not make double-tap be a UI action. Done.<p>Or, if you insist on double-tap, make it only be an action that stacks transparently with single-tap. For example, in touch controls for The Witness, single-tap makes you walk toward the target. Double-tap makes you run. So as soon as we read a single tap, we can start doing the action without delay, and if we see the second tap we just kick up your target speed. It works great.<p>In short, hey Google, please stop doing band-aid solutions that make things worse, and hire some people who really have solid design vision, and give them the power to get things done.
评论 #6901722 未加载
评论 #6901673 未加载
barrkelover 11 years ago
&quot;Pinch-zooming is great for taking a closer look at a photo, some small print, or dealing with a set buttons&#x2F;links that are placed too closely together. It&#x27;s an out-of-the-box accessibility feature.&quot;<p>No! Pinch-zooming is fantastic for navigating content. It lets you see an overview of the whole page, then zoom in on the bit you&#x27;re interested in. It lets you control how much is seen on screen depending whether you want to read it in depth or skim it. It is a <i>key feature</i> of browsing the web on mobile devices. Mobile websites that disable pinch-zoom by using enormous text on extremely narrow fixed-width pages are a <i>pessimization</i>, and are almost always worse than the desktop page rendered on the mobile.<p>That&#x27;s my opinion. I search in vain for a browser whose &quot;view in desktop mode&quot; actually works.
评论 #6901785 未加载
评论 #6901876 未加载
评论 #6901582 未加载
评论 #6901150 未加载
评论 #6902374 未加载
评论 #6901758 未加载
评论 #6901929 未加载
评论 #6900995 未加载
评论 #6901489 未加载
primigenusover 11 years ago
We recently had to change our plans for a HTML5 game for smartphones because it performed like crap on Android. Now we&#x27;re rebuilding it in Unity (with the recent 2d features they added) and it performs great. That&#x27;s too bad, because we really believe in the idea of HTML5 as a cross-platform development environment.<p>So I&#x27;m really happy with the obsessive pursuit of speed, responsiveness and user experience by the Chrome team. It&#x27;s probably a good idea to seek feedback on this for accessibility reasons, but it feels like this change would be for the better when applying the 80&#x2F;20 rule.<p>This along with the numerous improvements to Chrome&#x27;s developer tools and remote debugging features (<a href="https://developers.google.com/chrome-developer-tools/docs/remote-debugging" rel="nofollow">https:&#x2F;&#x2F;developers.google.com&#x2F;chrome-developer-tools&#x2F;docs&#x2F;re...</a>) coming soon really show an increased focus on making high performance web apps on mobile a realistic option.<p>Hopefully the next game we make will be able to launch on iOS and Android thanks to these speed improvements. :)
评论 #6901260 未加载
评论 #6900600 未加载
评论 #6900969 未加载
JoelSutherlandover 11 years ago
For what it&#x27;s worth, this delay was already removed for sites that had user-scalable=no set. Most mobile &quot;apps&quot; used this.<p>The change here is that if the computed viewport is smaller or equal to the device width, fast clicks will be enabled without having to disable scaling. Double clicking won&#x27;t work, but pinch-to-zoom will.<p>Overall it&#x27;s a fairly minor change for those thinking about making HTML5 apps, but it is a big positive change for users visiting existing web sites that have mobile&#x2F;responsive versions that haven&#x27;t disallowed scaling.
评论 #6900641 未加载
jackgaviganover 11 years ago
Why not add a &quot;Zoom on double-tap&quot; tickbox in Chrome&#x27;s Settings? Leave it ticked as default so users aren&#x27;t adversely affected.<p>Even better, add another Setting to let users change the amount of time the browser waits for the second tap. Windows has had this since at least Windows XP (Start → Settings → Control Panel → Mouse → Double-Click) and I <i>think</i> since Windows 95. Set it to 300ms as default so existing users aren&#x27;t adversely affected. People like me can set it to 180ms (which is what the iOS stopwatch indicates my maximum double-click delay is).<p>If you want to put the icing on the cake, add a little applet in Settings to measure your double-tap speed.
评论 #6900769 未加载
评论 #6900819 未加载
daleharveyover 11 years ago
Note that this is only different in the<p><pre><code> &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, user-scalable=no&quot;&gt; vs &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot;&gt; </code></pre> case, almost all browsers already remove the delay for user-scalable=no pages, but its a good improvement to be fast and still allow zooming, the article explains that, but I got confused skimming the title + first paragraph.
评论 #6901169 未加载
poxrudover 11 years ago
For a solution for older browsers you can use fastclick.js (<a href="https://github.com/ftlabs/fastclick" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ftlabs&#x2F;fastclick</a>). For angularjs webapps there&#x27;s also ngTouch.
评论 #6901193 未加载
a-prioriover 11 years ago
This is cool and all, but it&#x27;s a hack and it confuses the meanings of the viewport meta tags. Why should a &quot;width=device-width&quot; setting magically alter how touch events are processed? It makes no sense.<p>Wouldn&#x27;t it make more sense to introduce a new setting something like &quot;immediate-events=yes&quot; that lets developers opt-in to this behaviour?
评论 #6901221 未加载
skizmover 11 years ago
I&#x27;m a big fan of the double tap to zoom. The browser figures out the zoom level you want with surprising accuracy and if it is wrong, or you want something specific you can always fall back to pinch zoom.<p>I&#x27;m sure I&#x27;ll adjust but I do wish this was an opt in&#x2F;out thing.
评论 #6901234 未加载
kinlanover 11 years ago
The team are looking for a lot of feedback based on usage on this. Please either comment on the post or file feedback at crbug.com.
cbrover 11 years ago
This is excellent. Previously developers had to choose between their mobile site feeling snappy and supporting pinch-zooming. Now we can have both, and I can go back to being annoyed with developers who disable pinch-to-zoom.
toadkickover 11 years ago
How about we instead stop turning off page zooming on mobile sites. The least of my concerns here is the stupid 300ms lag, when it seems like 80% of mobile sites these days don&#x27;t even allow pinch-zooming anyway. Remember when one of the great things about smartphones was that you could use the &quot;real&quot; internet? Yeah. My poor eyeballs (and fat fingers) miss those days.
评论 #6901704 未加载
Pxtlover 11 years ago
Double-tap to auto-zoom seems like a misfeature anyways. Wasting a useful gesture like that on a somewhat-redundant action seems odd. A 2-finger tap gesture would&#x27;ve made more sense since it would be related to the pinch-operation.
评论 #6901308 未加载
评论 #6901461 未加载
评论 #6901151 未加载
sauravtover 11 years ago
With this feature implemented in stable branch of chrome and Chrome apps for android going stable in january 14, a lot of android.ios development will shift to making chrome apps that run on mobile.
eliot_sykesover 11 years ago
I don&#x27;t recall why I&#x27;ve set it up like this, but I&#x27;m using the following in an app: &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0, maximum-scale=1.0&quot;&gt;.<p>Should the 300ms tap delay be gone in this case too, or is it only apps with precisely &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width&quot;&gt; OR &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, user-scalable=no&quot;&gt;?
评论 #6900858 未加载
shawabawa3over 11 years ago
I&#x27;m not sure why you need to wait for potential double taps on clickable elements anyway, couldn&#x27;t you just have clickable elements not be double tappable?
评论 #6900844 未加载
评论 #6900680 未加载
评论 #6900789 未加载
评论 #6900662 未加载
nodataover 11 years ago
Nice, but the video is unfair: in the slower video he moves his hand off camera and back every time, in the faster video he keeps it hovering above the phone.<p>p.s. I think this is the Firefox bug <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=922896" rel="nofollow">https:&#x2F;&#x2F;bugzilla.mozilla.org&#x2F;show_bug.cgi?id=922896</a>
评论 #6900803 未加载
masklinnover 11 years ago
&gt; Microsoft&#x27;s PointerEvents spec does the right thing and only fires pointerup if the touch doesn&#x27;t trigger a lower-level action such as scrolling.<p>I don&#x27;t get how that helps for the use-case which triggered the original introduction of the tap delay: a double-tap is not a &quot;lower-level&quot; action than tap.
评论 #6900568 未加载
marcosscrivenover 11 years ago
I think a single &#x27;long&#x27; press for zoom would have been a better way. By long I&#x27;d say 300ms or so. Then a short tap could act the moment you lifted your finger, assuming it was below the long tap threshold. iOS uses a long tap to select text though.
lm741over 11 years ago
Latency sucks. You can apply this type of touch-click speedup on a site for other browsers with a bit of JS.<p><a href="https://gist.github.com/cagerton/7948779" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;cagerton&#x2F;7948779</a> (disclaimer: proof of concept, etc. )
thegladiatorover 11 years ago
developers developing a site that is &#x27;mobile friendly&#x27; is already overriding touch events to work around this latency issues. So OP&#x27;s complaint about inconsistency is not valid. I&#x27;m sure many developers welcome this change.
Raphaelover 11 years ago
If one attempts a pinch now, won&#x27;t the first finger to hit be interpreted as a drag instead? Or I suppose there is a drag delay but not a click delay.
ajasminover 11 years ago
When taping a link, couldn&#x27;t the browser start to load the page in the background even though the gesture may turn out to be a double-tap.