Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fc34d2c7231c210487f92c2036c22a16b7eab086
https://github.com/WebKit/WebKit/commit/fc34d2c7231c210487f92c2036c22a16b7eab086
Author: Phinehas Fuachie <[email protected]>
Date: 2026-03-02 (Mon, 02 Mar 2026)
Changed paths:
M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm
Log Message:
-----------
Fix UI control overlap when viewing narrow vertical video in element
fullscreen on visionOS
https://bugs.webkit.org/show_bug.cgi?id=308843
rdar://162804362
Reviewed by Andy Estes.
The fix makes the button(view immersive/view spatial) responsive to available
space. When there is
sufficient width, the button displays centered with both symbol and text,
maintaining a minimum
24pt spacing from the left-sidebuttons. When space is insufficient,the button
switches to a compact
symbol-only variant aligned to the trailing edge.
* Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm:
(-[WKFullScreenViewController initWithWebView:]):
(-[WKFullScreenViewController _contentSizeCategoryDidChange:]):
(-[WKFullScreenViewController _setTopButtonLabel:]):
(-[WKFullScreenViewController _updateVideoButtonLayout]):
(-[WKFullScreenViewController
configureEnvironmentPickerOrFullscreenVideoButtonView]):
(-[WKFullScreenViewController loadView]):
Canonical link: https://commits.webkit.org/308494@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications