zotero/chrome
abaevbog c3f8ba8eb1
Fix glitchy menupopups in dialogs opened from a context menu (#5409)
Opening a dialog window via a command from a menupopup leads to
unexpected glitches in the dialog's popups (e.g., collections menu
in newCollection dialog on macOS won't go away when you click away,
and on Windows, child collections don't appear when a parent is hovered).
This is due to some kind of race condition that arises when the dialog
appears when the popup is still closing.

This workaround captures command events from menupopups, closes the popup,
stops propagation of those events, and then dispatches a copy of
that event after a delay. This gives the popup enough time to close.

Fixes: #5408
Fixes: #4891
2025-07-30 01:56:11 -04:00
..
content Fix glitchy menupopups in dialogs opened from a context menu (#5409) 2025-07-30 01:56:11 -04:00
locale Move "Show My Publications" localized string from .dtd to .ftl 2025-07-15 02:53:57 -04:00
skin/default/zotero Add missing icons to the collections context menu (#5386) 2025-07-16 12:18:58 +02:00