From 9e4cd6e68b2bb54a851b757381144a3d438f299d Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Sat, 30 Aug 2025 15:04:13 +0200 Subject: [PATCH] fix: Hide the search popup when swiping workspaces, b=no-bug, c=workspaces --- src/zen/workspaces/ZenWorkspaces.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/zen/workspaces/ZenWorkspaces.mjs b/src/zen/workspaces/ZenWorkspaces.mjs index c4ac55826..b06aa234b 100644 --- a/src/zen/workspaces/ZenWorkspaces.mjs +++ b/src/zen/workspaces/ZenWorkspaces.mjs @@ -708,6 +708,8 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature { _handleSwipeStart(event) { if (!this.workspaceEnabled) return; + gZenFolders.cancelPopupTimer(); + document.documentElement.setAttribute('swipe-gesture', 'true'); document.addEventListener('popupshown', this.popupOpenHandler, { once: true }); @@ -1575,6 +1577,7 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature { } const workspaces = await this._workspaces(); + gZenFolders.cancelPopupTimer(); // Refresh tab cache for (const otherWorkspace of workspaces.workspaces) {