mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-04 22:59:46 +00:00
fix: Fixed context menu data disappearing too early, b=no-bug, c=workspaces
This commit is contained in:
@@ -1135,7 +1135,9 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
workspaceActions.addEventListener('popupshowing', this.updateWorkspaceActionsMenu.bind(this));
|
||||
workspaceActions.addEventListener('popuphidden', () => {
|
||||
setTimeout(() => {
|
||||
this.#contextMenuData = null;
|
||||
setTimeout(() => {
|
||||
this.#contextMenuData = null;
|
||||
}, 0);
|
||||
}, 0); // Delay to ensure the context menu data is cleared after the popup is hidden
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user