Fixed compact mode sidebar not closing when opening an extension dialog pinned to the sidebar

This commit is contained in:
mr. M
2025-01-02 13:31:23 +01:00
parent b9a759de53
commit dcfebe6595
6 changed files with 22 additions and 5 deletions

View File

@@ -629,7 +629,12 @@
setTimeout(() => {
this._animatingBackground = false;
appWrapper.removeAttribute('animating');
appWrapper.setAttribute('post-animating', 'true');
browser.document.documentElement.style.removeProperty('--zen-main-browser-background-old');
setTimeout(() => {
// Reactivate the transition after the animation
appWrapper.removeAttribute('post-animating');
});
}, 700);
});
}