Changeset 186514 in webkit


Ignore:
Timestamp:
Jul 8, 2015 10:48:52 AM (9 years ago)
Author:
mitz@apple.com
Message:

<rdar://problem/21669397> [iOS] Keyboard shortcuts that take focus away from the web view end up typing a letter into the newly focused field
https://bugs.webkit.org/show_bug.cgi?id=146732

Reviewed by Sam Weinig.

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView _interpretKeyEvent:isCharEvent:]): Bail out if we are no longer the first
responder.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r186512 r186514  
     12015-07-08  Dan Bernstein  <mitz@apple.com>
     2
     3        <rdar://problem/21669397> [iOS] Keyboard shortcuts that take focus away from the web view end up typing a letter into the newly focused field
     4        https://bugs.webkit.org/show_bug.cgi?id=146732
     5
     6        Reviewed by Sam Weinig.
     7
     8        * UIProcess/ios/WKContentViewInteraction.mm:
     9        (-[WKContentView _interpretKeyEvent:isCharEvent:]): Bail out if we are no longer the first
     10        responder.
     11
    1122015-07-07  Anders Carlsson  <andersca@apple.com>
    213
  • trunk/Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm

    r186377 r186514  
    26402640    static const unsigned kWebSpaceKey = 0x20;
    26412641
     2642    if (!self.isFirstResponder)
     2643        return NO;
     2644
    26422645    if (!_page->editorState().isContentEditable && event.isTabKey)
    26432646        return NO;
Note: See TracChangeset for help on using the changeset viewer.