- From: Simon Pieters <notifications@github.com>
- Date: Wed, 22 Apr 2026 06:48:52 -0700
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 22 April 2026 13:48:56 UTC
zcorpan left a comment (whatwg/fullscreen#232) > I think having the keyboard lock flag on `Document` doesn't work well, because a document can have multiple fullscreened elements, and `document.exitFullscreen()` only unfullscreens the fullscreen element, it doesn't fully exit fullscreen. Elements have a [fullscreen flag](https://fullscreen.spec.whatwg.org/#fullscreen-flag). If the keyboard lock flag is also on elements, it's possible to set the keyboard lock state correctly when unfullscreening an element in the multiple fullscreened elements case. > > Demo: https://software.hixie.ch/utilities/js/live-dom-viewer/saved/14667 Fixed in 11a7f57. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fullscreen/pull/232?email_source=notifications&email_token=ACLYVMK4AB3BAL7J2QXJUT34XDEUJA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMRZGY3TIMRUG42KM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOS2XA4S7MNXW23LFNZ2F633QMVXF6Y3MNFRWW#issuecomment-4296742474 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fullscreen/pull/232/c4296742474@github.com>
Received on Wednesday, 22 April 2026 13:48:56 UTC