diff --git a/chrome/content/zotero/elements/collapsibleSection.js b/chrome/content/zotero/elements/collapsibleSection.js index 5a36ce33c9..55e9ba1438 100644 --- a/chrome/content/zotero/elements/collapsibleSection.js +++ b/chrome/content/zotero/elements/collapsibleSection.js @@ -257,6 +257,9 @@ // Need to wait a tick before re-enabling - forcing style recalculation isn't enough here requestAnimationFrame(() => { this.classList.remove('disable-transitions'); + // --open-height is usually cleared when the animation ends, but we had animations disabled. + // Clear it manually. + this.style.setProperty('--open-height', 'auto'); }); }