- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 31 Oct 2022 20:19:22 -0700
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 1 November 2022 03:19:36 UTC
> It retains the orientation even if you rotate the device? How is it unlocked in that case? Sorry, I was not clear. Imagine: 1. `.lock("landscape")` 2. screen orientation changes and locks to landscape. 3. User physically rotates the device in their hand -90deg. 4. `.unlock()` 5. Screen stays in landscape, but it's "unlocked". 6. User rotates device to portrait by rotating phone 90deg (back to starting position). 7. Screen orientation switches to portrait, as expected. > (It does seem good to just unlock and let any additional rotation depend on the device orientation.) Precisely. The OS takes over - or OS conventions are followed. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fullscreen/issues/202#issuecomment-1297970454 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fullscreen/issues/202/1297970454@github.com>
Received on Tuesday, 1 November 2022 03:19:36 UTC