Open Bug 1944287 Opened 22 days ago Updated 20 days ago

Pressing the ESC to close the browser menu also exits fullscreen

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

People

(Reporter: edgar, Unassigned)

References

(Blocks 1 open bug)

Details

(split from https://bugzilla.mozilla.org/show_bug.cgi?id=1893997)

STR:

  • Open any video on YouTube and/or Vimeo in full screen mode;
  • Move the mouse cursor to the top border of the screen so that the menu bar appears, and click any menu bar item, for example "History";
  • Press the Esc key.

Actual result:
This will close the browser menu and exit full screen mode.

Expected result:
The first press of the Esc key should close browser menu and only pressing it again should exit full-screen mode.

I suspect the browser menu doesn't call preventDefault() while handling the Esc key event.

You need to log in before you can comment on or make changes to this bug.