Title: [211598] trunk/Source/WebKit2
Revision
211598
Author
enr...@apple.com
Date
2017-02-02 15:12:43 -0800 (Thu, 02 Feb 2017)

Log Message

WK2: cannot tap on candidate view with hardware keyboard.
https://bugs.webkit.org/show_bug.cgi?id=167761
rdar://problem/28775395

Reviewed by Tim Horton.

The candidate view is a subview of the view returned by
automaticallySelectedOverlay and it should be the unscaled view
instead of the WKContentView.

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView automaticallySelectedOverlay]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (211597 => 211598)


--- trunk/Source/WebKit2/ChangeLog	2017-02-02 23:03:38 UTC (rev 211597)
+++ trunk/Source/WebKit2/ChangeLog	2017-02-02 23:12:43 UTC (rev 211598)
@@ -1,3 +1,18 @@
+2017-02-02  Enrica Casucci  <enr...@apple.com>
+
+        WK2: cannot tap on candidate view with hardware keyboard.
+        https://bugs.webkit.org/show_bug.cgi?id=167761
+        rdar://problem/28775395
+
+        Reviewed by Tim Horton.
+
+        The candidate view is a subview of the view returned by
+        automaticallySelectedOverlay and it should be the unscaled view
+        instead of the WKContentView.
+
+        * UIProcess/ios/WKContentViewInteraction.mm:
+        (-[WKContentView automaticallySelectedOverlay]):
+
 2017-02-02  Wenson Hsieh  <wenson_hs...@apple.com>
 
         Drag images should be anchored to the mouse location

Modified: trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm (211597 => 211598)


--- trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm	2017-02-02 23:03:38 UTC (rev 211597)
+++ trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm	2017-02-02 23:12:43 UTC (rev 211598)
@@ -3615,7 +3615,7 @@
 
 - (UIView *)automaticallySelectedOverlay
 {
-    return self;
+    return [self unscaledView];
 }
 
 - (UITextGranularity)selectionGranularity
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to