Affecting Delay between touch and mouse events has been removed on responsive pages

Published: | Categories: DOM | Creative Commons BY-SA 3.0

Description

Both Firefox for Android and Firefox OS support double-tap-to-zoom, and there is a 300-millisecond delay between the touch event (touchend) and the mouse event (click) to detect and enable this gesture. In order to improve the responsiveness of applications, this delay has been removed on non-zoomable, responsive designed pages that specify width=device-width (or some value less than device-width) and/or user-scalable=no in the viewport <meta> tag. Google Chrome 32 also removed the delay. Read an article on HTML5 Rocks for details.

References