fix: Hide the search popup when swiping workspaces, b=no-bug, c=workspaces

This commit is contained in:
mr. m
2025-08-30 15:04:13 +02:00
parent 42ebc081a8
commit 9e4cd6e68b

View File

@@ -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) {