Title: [179904] trunk/Source/WebKit2
- Revision
- 179904
- Author
- [email protected]
- Date
- 2015-02-10 16:54:20 -0800 (Tue, 10 Feb 2015)
Log Message
<rdar://problem/19770264> Starting a navigation gesture dismisses the keyboard
Reviewed by Tim Horton.
* UIProcess/ios/ViewGestureControllerIOS.mm:
(WebKit::ViewGestureController::beginSwipeGesture): Reordered the view hierarchy changes,
such that m_liveSwipeView will not momentarily move out of the window, because that causes
the window’s first responder to be set to nil (if it was a descendant of m_liveSwipView).
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (179903 => 179904)
--- trunk/Source/WebKit2/ChangeLog 2015-02-11 00:19:37 UTC (rev 179903)
+++ trunk/Source/WebKit2/ChangeLog 2015-02-11 00:54:20 UTC (rev 179904)
@@ -1,3 +1,14 @@
+2015-02-10 Dan Bernstein <[email protected]>
+
+ <rdar://problem/19770264> Starting a navigation gesture dismisses the keyboard
+
+ Reviewed by Tim Horton.
+
+ * UIProcess/ios/ViewGestureControllerIOS.mm:
+ (WebKit::ViewGestureController::beginSwipeGesture): Reordered the view hierarchy changes,
+ such that m_liveSwipeView will not momentarily move out of the window, because that causes
+ the window’s first responder to be set to nil (if it was a descendant of m_liveSwipView).
+
2015-02-10 Enrica Casucci <[email protected]>
Hit testing is misplaced when selecting on wikipedia page.
Modified: trunk/Source/WebKit2/UIProcess/ios/ViewGestureControllerIOS.mm (179903 => 179904)
--- trunk/Source/WebKit2/UIProcess/ios/ViewGestureControllerIOS.mm 2015-02-11 00:19:37 UTC (rev 179903)
+++ trunk/Source/WebKit2/UIProcess/ios/ViewGestureControllerIOS.mm 2015-02-11 00:54:20 UTC (rev 179904)
@@ -214,8 +214,8 @@
[m_liveSwipeViewClippingView setClipsToBounds:YES];
[m_liveSwipeView.superview insertSubview:m_transitionContainerView.get() belowSubview:m_liveSwipeView];
+ [m_transitionContainerView addSubview:m_liveSwipeViewClippingView.get()];
[m_liveSwipeViewClippingView addSubview:m_liveSwipeView];
- [m_transitionContainerView addSubview:m_liveSwipeViewClippingView.get()];
RetainPtr<UIViewController> targettedViewController = adoptNS([[UIViewController alloc] init]);
[targettedViewController setView:m_liveSwipeViewClippingView.get()];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes