[UIWebView] Doesn't respect <meta name=viewport> cues for fast-click optimizatoins

Originator:radexpl
Number:rdar://27805216 Date Originated:11-Aug-2016 05:19 PM
Status:Open Resolved:
Product:iOS SDK Product Version:10.0 beta 5
Classification:UI/Usability Reproducible:Always
 
Summary:

UIWebView doesn’t respect cues as described in https://webkit.org/blog/5610/more-responsive-tapping-on-ios/ to disable the 350ms delay on click events

Steps to Reproduce:

1. Create a page with a viewport setting disabling user scaling:
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0”>

2. Add links or ‘click’ DOM events on the page

Expected Results:

Click events get dispatched immediately

Actual Results:

Click events only get delivered after a 350ms delay

Regression:

This issue doesn’t occur on WebKit2 clients (WKWebView and Safari)

Notes:

Related: rdar://25573509

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!