fix: Common fixed before release, b=(no-bug), c=tabs, workspaces

This commit is contained in:
mr. m
2025-05-01 20:51:20 +02:00
parent 0f57148418
commit 6250e9dfb2
3 changed files with 18 additions and 6 deletions

View File

@@ -1942,7 +1942,12 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
} else {
container.removeAttribute('hidden');
}
if (nextWorkspaceContextId !== workspaceContextId && offsetPixels && this.containerSpecificEssentials) {
if (
nextWorkspaceContextId !== workspaceContextId &&
offsetPixels &&
this.containerSpecificEssentials &&
container.getAttribute('container') == nextWorkspaceContextId
) {
container.removeAttribute('hidden');
// Animate from the currently selected workspace
if (container.getAttribute('container') == workspaceContextId) {