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

Changeset 233553 in webkit


Ignore:
Timestamp:
Jul 5, 2018, 5:40:22 PM (8 years ago)
Author:
commit-queue@webkit.org
Message:

iPad: Scrolling with hardware keyboard while SELECT popover is visible scrolls the page, detaches popover
​https://bugs.webkit.org/show_bug.cgi?id=187363
<rdar://problem/41106306>

Patch by Olivia Barnett <​obarnett@apple.com> on 2018-07-05
Reviewed by Tim Horton.

Added extra check to prevent keyboard scrolling when the select box is open.

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView _scrollOffsetForEvent:]):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r233552 r233553  
     12018-07-05  Olivia Barnett  <obarnett@apple.com>
     2
     3        iPad: Scrolling with hardware keyboard while SELECT popover is visible scrolls the page, detaches popover
     4        https://bugs.webkit.org/show_bug.cgi?id=187363
     5        <rdar://problem/41106306>
     6
     7        Reviewed by Tim Horton.
     8
     9        Added extra check to prevent keyboard scrolling when the select box is open.
     10
     11        * UIProcess/ios/WKContentViewInteraction.mm:
     12        (-[WKContentView _scrollOffsetForEvent:]):
     13
    1142018-07-05  Timothy Hatcher  <timothy@apple.com>
    215
  • trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r233546 r233553  
    36563656    if (_page->editorState().isContentEditable)
    36573657        return std::nullopt;
     3658   
     3659    if (_assistedNodeInformation.elementType == InputType::Select)
     3660        return std::nullopt;
    36583661
    36593662    NSString *charactersIgnoringModifiers = event.charactersIgnoringModifiers;
Note: See TracChangeset for help on using the changeset viewer.