On 05/06/13 21:47, Matevž Bradač wrote:
On 5. Jun, 2013, at 18:35, Joachim Dreimann wrote:

I've added "user-scalable=no" to the viewport meta tag in
bloodhound_theme.html. This disables the ability for users to zoom into or
out of Bloodhound pages on most mobile-type devices.

When trying Bloodhound on my phone more recently I found zooming to be an
anti-feature, which never actually helped me. The responsive layout already
displays information at the right size.

One noticeable speed benefit also comes from this: Normally mobile browsers
wait 300ms after a tap before they trigger a click event, because they're
waiting for a possible double tap (zoom). On Android and Chrome browsers
this wait is removed when "user-scalable=no" is set.

For iOS and many other types of devices and browsers that's not enough to
remove the delay. The Financial Times has published an MIT-licensed library
to 'fix' this:
http://labs.ft.com/articles/ft-fastclick/
https://github.com/ftlabs/fastclick

Should we include this library? I'm in favour of it because the increase in
improved responsiveness.
There was a discussion on Hacker News[1] wrt. the delays, which also lists
some pros and cons. All things considered, I'm in favour of removing the
delay (and thus including the fastclick library), if there are any user
complaints we can always make it configurable.

[1] https://news.ycombinator.com/item?id=4083357



I think that would make sense.. perhaps it should be raised as a starter ticket though. I take it that this should be pretty straight-forward.

Making it configurable doesn't have to be a requirement unless we get some complaints.

Cheers,
Gary

Reply via email to