core icon indicating copy to clipboard operation
core copied to clipboard

Fullscreen state is not updated when exiting fullscreen by Esc on web

Open kkoreilly opened this issue 7 months ago • 0 comments

Describe the bug

When you press the Esc key to exit fullscreen on web, we do not realize that has happened, and thus the context menu action for fullscreen still does Exit fullscreen. We need to do addeventlistener on the fullscreen state somehow.

How to reproduce

Go to the docs, right click, click Window -> Fullscreen, press escape, and then right click and observe Window has Exit fullscreen instead of Fullscreen.

Example code


Relevant output


Platform

Web

kkoreilly avatar May 23 '25 17:05 kkoreilly