WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
279030
Escape key does not fire keyup when exiting fullscreen
https://bugs.webkit.org/show_bug.cgi?id=279030
Summary
Escape key does not fire keyup when exiting fullscreen
bitbof
Reported
2024-09-02 11:35:32 PDT
Steps to reproduce: - On macOS, in Safari, open a webpage with window.addEventListener('keydown', ...) and window.addEventListener('keyup', ...) - "Enter Full Screen" - via green window button or Ctrl + Cmd + F - Press the escape key Can also be tried with the logger here:
https://bitbof.github.io/browser-bug-demos/2024-09-02-safari-mac-escape-key/
Actual results: Does not fire keyup for escape key Expected results: Fires keydown and keyup for escape key
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2024-09-02 11:52:50 PDT
Thank you for the report. This seems like a rather extreme edge case, could you please add some color around whether this is important for you and your users?
bitbof
Comment 2
2024-09-02 12:46:18 PDT
It breaks keyboard shortcuts in my app (it does happen to users), but there workarounds, and I can imagine a more robust implementation for keyboard shortcuts on my end. It would have been less confusing, but it's not that important.
Radar WebKit Bug Importer
Comment 3
2024-09-09 11:36:15 PDT
<
rdar://problem/135564636
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug