[whatwg/fullscreen] Allow `requestFullscreen` after page reloaded (same session, if it had `document.fullscreenElement` in the previous document) (Issue #262)

light-and-ray created an issue (whatwg/fullscreen#262)

### What is the issue with the Fullscreen API Standard?

Hello. I have a problem, I would like to persist my fullscreen state in the same session - across page reloads. I have a local webapp, and the page refreshes in case of app update, or backend restart. I want to keep information about fullscreen in session storage, and restore it after reload. But currently `requestFullscreen` requires "Transient user activation", and I get security error

I think a good solution will be allowing `requestFullscreen` inside `load` event if the session had `document.fullscreenElement` in the previous document

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

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

Received on Friday, 12 June 2026 21:39:47 UTC