diff --git a/src/browser/base/zen-components/ZenCompactMode.mjs b/src/browser/base/zen-components/ZenCompactMode.mjs index 2537b5d11..9aea80314 100644 --- a/src/browser/base/zen-components/ZenCompactMode.mjs +++ b/src/browser/base/zen-components/ZenCompactMode.mjs @@ -117,7 +117,9 @@ var gZenCompactModeManager = { } this._isAnimating = true; // Do this so we can get the correct width ONCE compact mode styled have been applied - this.sidebar.setAttribute("animate", "true"); + if (this._canAnimateSidebar) { + this.sidebar.setAttribute("animate", "true"); + } window.requestAnimationFrame(() => { let sidebarWidth = this.getAndApplySidebarWidth(); if (!this._canAnimateSidebar) {