Hacker News new | past | comments | ask | show | jobs | submit login

And Quora doesn't disable pinchzoom like Slate does



Why would you disable pinchzoom?


Because you are a "mobile UX expert", which is the latin for "asshole".


it makes the page less sluggish. it's impossible to disable double tap zoom without disabling pinch zoom, and while double tap is enabled, browsers have to insert a tap delay. this is because every single tsp could be the beginning of a double tap, so the browser waits until 300ms after a single tap to respond to it. this delay isn't perceptible as a delay, but it does make the entire page feel less responsive. disabling zooming disables the delay and makes the page feel quick again.

also disabling zooming makes it feel more like a native app, which some people like.


It's easy enough to avoid the 300ms delay without breaking zoom. There are dozens of tiny libraries that fix this problem by intercepting touchdown events and immediately firing a click if there isn't a touchmove within a very short interval. So, double tap doesn't work, but pinch does and you get "tap" events with very little delay.


Why would a text article webpage care about tap delay?


I can't reply to elwell's comment directly, but Slate has not been a part of Microsoft since 2004.


Usually if you hit the "link" button above their comment, it will take you to a comment box.


Slate is run by Microsoft; need I say more?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: