⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 179904 in webkit


Ignore:
Timestamp:
Feb 10, 2015, 4:54:20 PM (12 years ago)
Author:
mitz@apple.com
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).

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r179885 r179904  
     12015-02-10  Dan Bernstein  <mitz@apple.com>
     2
     3        <rdar://problem/19770264> Starting a navigation gesture dismisses the keyboard
     4
     5        Reviewed by Tim Horton.
     6
     7        * UIProcess/ios/ViewGestureControllerIOS.mm:
     8        (WebKit::ViewGestureController::beginSwipeGesture): Reordered the view hierarchy changes,
     9        such that m_liveSwipeView will not momentarily move out of the window, because that causes
     10        the window’s first responder to be set to nil (if it was a descendant of m_liveSwipView).
     11
    1122015-02-10  Enrica Casucci  <enrica@apple.com>
    213
  • trunk/Source/WebKit2/UIProcess/ios/ViewGestureControllerIOS.mm

    r179468 r179904  
    215215
    216216    [m_liveSwipeView.superview insertSubview:m_transitionContainerView.get() belowSubview:m_liveSwipeView];
     217    [m_transitionContainerView addSubview:m_liveSwipeViewClippingView.get()];
    217218    [m_liveSwipeViewClippingView addSubview:m_liveSwipeView];
    218     [m_transitionContainerView addSubview:m_liveSwipeViewClippingView.get()];
    219219
    220220    RetainPtr<UIViewController> targettedViewController = adoptNS([[UIViewController alloc] init]);
Note: See TracChangeset for help on using the changeset viewer.