Bug 226094

Summary: webkitRequestFullscreen enters and immediatly leaves full screen
Product: WebKit Reporter: inikolic <inikolic>
Component: WebKit Misc.Assignee: Jon Davis <jond>
Status: NEW ---    
Severity: Normal CC: jer.noble, jond, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: iPhone / iPad   
OS: iOS 14   

Description inikolic@microsoft.com 2021-05-21 10:52:06 PDT
Hi VS Code dev here,

First of all I apologise for the bad issue and steps. I am more creating this in hope that somebody might have a hint how to fix this.

1. iPad, latest Safari 14
2. https://vscode-web-test-playground.azurewebsites.net/?enter=true
3. F1 > full screen
4. The whole things goes in and out of full screen


It seems like Safari goes into full screen mode but immediately exits. We call the `webkitRequestFullscreen` api as implementation detail of full screen.

So my questions are:
1. What could cause Safari to exit full screen mode automatically?
2. Should `webkitRequestFullscreen` work on iPad
3. Is there some alternative API that would just hide the address bar?

Thanks
Isidor
Comment 1 Radar WebKit Bug Importer 2021-05-21 16:07:09 PDT
<rdar://problem/78333362>