From e7a3e1ee29c6d7b0267c3fcb3d412862b32ff206 Mon Sep 17 00:00:00 2001 From: Ashvin Jangid <142579833+ashvwinn@users.noreply.github.com> Date: Thu, 6 Aug 2026 23:59:00 +0530 Subject: [PATCH] gh-14862: Fix tab switching when switching spaces with mouse wheel (gh-14863) Co-authored-by: mr. m <91018726+mr-cheffy@users.noreply.github.com> --- src/zen/spaces/ZenSpaceManager.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zen/spaces/ZenSpaceManager.mjs b/src/zen/spaces/ZenSpaceManager.mjs index e4a31b5a8..1ecb1e25a 100644 --- a/src/zen/spaces/ZenSpaceManager.mjs +++ b/src/zen/spaces/ZenSpaceManager.mjs @@ -649,6 +649,7 @@ class nsZenWorkspaces { if (Math.abs(delta) < scrollThreshold) { return; } + event.preventDefault(); // Determine scroll direction let rawDirection = delta > 0 ? 1 : -1;