Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9161fa0164ff0627c6e95ce2e0abbe9b3a7d702a
      
https://github.com/WebKit/WebKit/commit/9161fa0164ff0627c6e95ce2e0abbe9b3a7d702a
  Author: Cole Carley <[email protected]>
  Date:   2026-01-21 (Wed, 21 Jan 2026)

  Changed paths:
    A LayoutTests/fast/scrolling/ios/keyboard-scroll-expected.txt
    A LayoutTests/fast/scrolling/ios/keyboard-scroll.html
    M Source/WebKit/UIProcess/ios/WKBaseScrollView.mm
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

  Log Message:
  -----------
  Fix twitch keyboard scrolling
https://bugs.webkit.org/show_bug.cgi?id=305165
rdar://149250203

Reviewed by Wenson Hsieh.

The issue was that WKContetView was checking if the webView's scroll view
had scroll enable, instead of the animator in question's scroll view had
scrolling enabled.

* LayoutTests/fast/scrolling/ios/keyboard-scroll-expected.txt: Added.
* LayoutTests/fast/scrolling/ios/keyboard-scroll.html: Added.
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
* Source/WebKit/UIProcess/ios/WKBaseScrollView.mm:
(-[WKBaseScrollView initWithFrame:]):
My change broke scrolling in subscrollable elements on iPhone. This changes
the default scroll view to allow keyboard scrolling, which is consistent with
iPad.
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView isScrollableForKeyboardScrollViewAnimator:]):

Canonical link: https://commits.webkit.org/305945@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to