Re: [whatwg/fullscreen] Exiting full screen should unlock screen orientation (Issue #202)

I'm naive of mobile development patterns, but storing pre-fullscreen orientation (and locks) does seem significant.

Say a web application manifest's default orientation is portrait, then it uses screen.orientation.lock("landscape") for gameplay. During the game, a video cutscene/tutorial/ad is shown fullscreen (with or without changing the orientation). Exiting video element fullscreen to resume gameplay should probably not unlock orientation, but restore that pre-fullscreen orientation.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/202#issuecomment-1275078467
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fullscreen/issues/202/1275078467@github.com>

Received on Tuesday, 11 October 2022 18:03:47 UTC