- From: Simon Pieters <notifications@github.com>
- Date: Thu, 23 Apr 2026 03:21:00 -0700
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 23 April 2026 10:21:04 UTC
zcorpan left a comment (whatwg/fullscreen#232) Changing `document.fullscreen` to not return a boolean is likely not web compatible. ```js const resultingOptions = await document.requestFullscreen(options); resultingOptions.keyboardLock // less hacky way than abusing getter ``` This means you can only check the state if you called `requestFullscreen`, but that could have happened by other code or the user. Maybe it can be exposed in the `fullscreenchange` event though. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fullscreen/pull/232?email_source=notifications&email_token=ACLYVMJZPJWBDPV7TMBD5Q34XHVAZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMZQGM3DAMBXHA2KM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOS2XA4S7MNXW23LFNZ2F633QMVXF6Y3MNFRWW#issuecomment-4303600784 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fullscreen/pull/232/c4303600784@github.com>
Received on Thursday, 23 April 2026 10:21:04 UTC