Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5f669bcf4db82cda6d4eb8b9dd56aabb38f5d987
https://github.com/WebKit/WebKit/commit/5f669bcf4db82cda6d4eb8b9dd56aabb38f5d987
Author: Phinehas Fuachie <[email protected]>
Date: 2026-07-02 (Thu, 02 Jul 2026)
Changed paths:
M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm
Log Message:
-----------
[visionOS] Auto Dimming menu is mispositioned after resizing the Safari window
https://bugs.webkit.org/show_bug.cgi?id=318402
rdar://179348738
Reviewed by Aditya Keerthi.
Entering element fullscreen keeps the inline parent window alive but faded out,
pinned to its
pre-fullscreen size. And that inflates the region UIKit uses to place the
spatial context menu,
pushing the Auto Dimming menu off to the side.
Shrink the faded parent to the fullscreen bounds on entry, and restore its
frame before the exit
transition so the exit animation stays smooth.
* Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:
(-[WKFullScreenParentWindowState initWithWindow:]):
(-[WKFullScreenWindowController
_performSpatialFullScreenTransition:completionHandler:]):
Canonical link: https://commits.webkit.org/316365@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications