TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

WebKit removes the 350ms click delay for iOS

304 点作者 asyncwords超过 9 年前

15 条评论

ksenzee超过 9 年前
The change applies only to unscalable viewports. That's a shame, because it means some developers will disable pinch-to-zoom to get a faster click response. That makes this yet another unfortunate conflict between usability and accessibility. The older I get, the more I appreciate being able to zoom (I'm viewing this page at 125% on desktop right now).
评论 #10389977 未加载
评论 #10390321 未加载
评论 #10390184 未加载
评论 #10391597 未加载
评论 #10391415 未加载
评论 #10391606 未加载
评论 #10391333 未加载
untog超过 9 年前
While I do symapthise with those lamenting the lack of pinch-to-zoom, I&#x27;m confused: apps don&#x27;t offer pinch to zoom, so how do you use them? If you can use an app fine without pinch to zoom, you should really be able to use a mobile website fine too.<p>It seems to me that this is an either&#x2F;or proposition: either you have a not-mobile, pinch-to-zoom-able web site, or you have a mobile-specific site with an app-like viewport that does not allow pinch to zoom. Both of these seem like fine options to me, and I don&#x27;t think it&#x27;s a huge loss to lose the middle ground.
评论 #10390107 未加载
评论 #10390061 未加载
评论 #10390097 未加载
评论 #10390205 未加载
评论 #10390213 未加载
评论 #10390484 未加载
评论 #10391663 未加载
jordanlev超过 9 年前
Ugh... This change is of course totally logical in isolation, but I fear that this will motivate designers and developers to disable pinch-zooming on their sites (more than they already are). I <i>hate</i> when websites do this, and it is generally considered terrible for accessibility.
评论 #10390181 未加载
zkhalique超过 9 年前
In our framework, we have for a very long time had a Q.Pointer class which contained functionality to normalize things between touchscreens and non-touchscreens. Among other things, it had the &quot;fastclick&quot; event: <a href="https:&#x2F;&#x2F;github.com&#x2F;Qbix&#x2F;Platform&#x2F;blob&#x2F;master&#x2F;platform&#x2F;plugins&#x2F;Q&#x2F;web&#x2F;js&#x2F;Q.js#L8825" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Qbix&#x2F;Platform&#x2F;blob&#x2F;master&#x2F;platform&#x2F;plugin...</a><p>There is far more than simply relying on a &quot;click&quot; in touchscreens. For example the &quot;touchclick&quot; event is for those times when the keyboard disappears because focus has been lost in a textbox, but the click will still succeed: <a href="https:&#x2F;&#x2F;github.com&#x2F;Qbix&#x2F;Platform&#x2F;blob&#x2F;master&#x2F;platform&#x2F;plugins&#x2F;Q&#x2F;web&#x2F;js&#x2F;Q.js#L8825" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Qbix&#x2F;Platform&#x2F;blob&#x2F;master&#x2F;platform&#x2F;plugin...</a><p>Also, drag-drop is broken in touchscreens WebKit so you have to roll your own, and much more.<p>You&#x27;re better off using a library.
评论 #10391689 未加载
paulvs超过 9 年前
As I see it, the 350ms delay was added to support zooming via double-tap. What I don&#x27;t understand is why double-tap zooming is necessary when we have pinch-to-zoom? Can&#x27;t zoom via double-tap be sacrificed for instant clicks and everyone is happy?
评论 #10391679 未加载
评论 #10391882 未加载
评论 #10396482 未加载
评论 #10405833 未加载
评论 #10390812 未加载
jamesrom超过 9 年前
A lot of commenters here are afraid of developers disabling user scaling to get better performance. That is incorrectly making the assumption that user scaling is good thing for every kind of website.<p>If a 350ms click delay is actually a performance bottleneck on the app you are building, it&#x27;s very likely user scaling is something you want disabled anyway.
评论 #10390191 未加载
评论 #10391390 未加载
RoboTeddy超过 9 年前
How long until this makes it into the Mobile Safari on most people&#x27;s iOS devices?
评论 #10390602 未加载
nailer超过 9 年前
Finally.<p>Typing this on an iOS 9 device and I, as a human, cannot &#x27;fast tap&#x27; enough for iOS to register a &#x27;fast tap&#x27; and not delay. Try it here: <a href="http:&#x2F;&#x2F;output.jsbin.com&#x2F;xiculayadu" rel="nofollow">http:&#x2F;&#x2F;output.jsbin.com&#x2F;xiculayadu</a>
评论 #10390174 未加载
escherize超过 9 年前
I really don&#x27;t understand the lamentation around pinch to zoom. There&#x27;s a fantastic os-level zoom built into ios! Set it up and three-finger-click to activate. And it works great.
评论 #10390176 未加载
评论 #10390581 未加载
评论 #10391133 未加载
评论 #10390159 未加载
dkonofalski超过 9 年前
What&#x27;s the intended function of the previous functionality? Didn&#x27;t double-tapping zoom in and out to a specific section? What problem does the delay solve that isn&#x27;t present on unscalable viewports?
评论 #10390197 未加载
mozumder超过 9 年前
Any idea when this makes it into an iOS release? Does Apple usually implement this in point releases? Or do we wait until iOS10 next year?
kristianp超过 9 年前
Can someone explain what this means for the non-IOS developers amongst us?
评论 #10390124 未加载
评论 #10390132 未加载
outside1234超过 9 年前
Remind me: They originally had the 350ms delay in there to distinguish between a tap and a pinch, correct?
评论 #10390166 未加载
评论 #10390195 未加载
评论 #10391525 未加载
joeyspn超过 9 年前
Good news for hybrid apps devs...
评论 #10390219 未加载
fogisland超过 9 年前
Will removing this 350ms delay really make user feel faster response?
评论 #10392561 未加载