Files
zulip/web
Sahil Batra 6ab670bdee lightbox: Use single keydown handler for toggling overlay.
We use the same "v" key for opening and closing the
lightbox overlay.

We already have code to open and close the lightbox
overlay in hotkey.ts.

Having another keydown handler for closing the overlay
resulted in a bug where the overlay was just not being
opened because the second handler was immediately called
to close the overlay was immediately called after the first.

Fixes #35868.
2025-08-28 09:45:41 -07:00
..
2025-07-23 11:24:12 -07:00
2025-08-27 13:50:40 -07:00