Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bf8d7eed5520a2a087ccf4db6035bc06e2f512ce
      
https://github.com/WebKit/WebKit/commit/bf8d7eed5520a2a087ccf4db6035bc06e2f512ce
  Author: Etienne Segonzac <[email protected]>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M Source/WebKit/Configurations/WebKit.xcconfig
    M Source/WebKit/DerivedSources-input.xcfilelist
    M Source/WebKit/DerivedSources-output.xcfilelist
    M Source/WebKit/DerivedSources.make
    M Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKit/_WebKit_SwiftUI/Implementation/WebViewRepresentable.swift

  Log Message:
  -----------
  [SwiftUI] Wire the `webViewScrollInputBehavior` WebView modifier
https://bugs.webkit.org/show_bug.cgi?id=293248
<rdar://146492756>

Reviewed by Richard Robinson.

Introduce a WKA extension point for `WebPageWebView` to configure
the scroll input behavior (most of the SwiftUI plumbing was already in place).

* Source/WebKit/_WebKit_SwiftUI/Implementation/WebViewRepresentable.swift:
(WebViewRepresentable.updatePlatformView(_:context:)):
Update the scroll input behavior based on the existing
`webViewScrollInputBehaviorContext`.

* Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
(-[WKWebView _didCommitLayerTree:]):
(-[WKWebView _resetOverlayRegions]):
Fix a bug where toggling `overlayRegionsEnabled` would have no effect.

* Source/WebKit/Configurations/WebKit.xcconfig:
* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources-output.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
Add the WKA extension.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to