Bug 226094 - webkitRequestFullscreen enters and immediatly leaves full screen
Summary: webkitRequestFullscreen enters and immediatly leaves full screen
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 14
Hardware: iPhone / iPad iOS 14
: P2 Normal
Assignee: Jon Davis
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-21 10:52 PDT by inikolic@microsoft.com
Modified: 2021-05-21 16:07 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>