Bug 193078 - WKWebView ignores Element.webkitRequestFullscreen.
Summary: WKWebView ignores Element.webkitRequestFullscreen.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: Safari 12
Hardware: Macintosh macOS 10.14
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-02 10:52 PST by Ram
Modified: 2019-04-26 02:46 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ram 2019-01-02 10:52:28 PST
If this actually hasn't been implemented, I like how Edge does it, where the web view has a `ContainsFullscreenElement` property and a `ContainsFullscreenElementChanged` event, and a fullscreen element doesn't do anything other than fill the web view.
Comment 1 Jer Noble 2019-01-04 10:42:53 PST
Brady and I were talking about this earlier; the current fullscreen implementation for Safari will rip the WKWebView out of its view hierarchy. Fullscreen isn't enabled by default because that's super problematic for third party clients who may not expect such behavior. One alternative may be to require clients to implement a set of WKWebView fullscreen delegate methods, and have the client worry about getting their WKWebView into some kind of "full screen" presentation state.