<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>226094</bug_id>
          
          <creation_ts>2021-05-21 10:52:06 -0700</creation_ts>
          <short_desc>webkitRequestFullscreen enters and immediatly leaves full screen</short_desc>
          <delta_ts>2021-05-21 16:07:09 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>Safari 14</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 14</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="inikolic@microsoft.com">inikolic</reporter>
          <assigned_to name="Jon Davis">jond</assigned_to>
          <cc>jer.noble</cc>
    
    <cc>jond</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1762484</commentid>
    <comment_count>0</comment_count>
    <who name="inikolic@microsoft.com">inikolic</who>
    <bug_when>2021-05-21 10:52:06 -0700</bug_when>
    <thetext>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 &gt; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1762634</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-05-21 16:07:09 -0700</bug_when>
    <thetext>&lt;rdar://problem/78333362&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>