Bug 264216 - Add a way to hide the exit button when in full screen
Summary: Add a way to hide the exit button when in full screen
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari Technology Preview
Hardware: iPhone / iPad iOS 17
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-04 14:37 PDT by Jesper van den Ende
Modified: 2023-11-11 13:38 PST (History)
3 users (show)

See Also:


Attachments
screenshot (983.97 KB, image/png)
2023-11-04 14:37 PDT, Jesper van den Ende
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesper van den Ende 2023-11-04 14:37:38 PDT
Created attachment 468488 [details]
screenshot

I would like to add full screen support for our game,
but we have a health bar in the top left corner which gets overlapped by the full screen close button.

Ideally this close button would not be shown at all,
but I understand that for security reasons this might not be possible without an alternative.

Some alternatives could be:
- Hide the button until the user taps the screen
- Allow the user to swipe down from the top of the screen, similar to how it works on Android
- Automatically exit full screen whenever safari is closed
- Add another gesture that is not commonly used by web apps, such as two or three finger swipes in a certain direction
Comment 1 Radar WebKit Bug Importer 2023-11-11 13:38:14 PST
<rdar://problem/118279330>