diff --git a/ts/components/Collapsible.svelte b/ts/components/Collapsible.svelte index c4e5b4164..8af667baf 100644 --- a/ts/components/Collapsible.svelte +++ b/ts/components/Collapsible.svelte @@ -32,7 +32,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html await new Promise(requestAnimationFrame); await new Promise(requestAnimationFrame); expandHeight = collapsibleElement.clientHeight; - + animating = true; size.set(1, { duration: duration || dynamicDuration(expandHeight, 25), @@ -52,7 +52,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html $: animating = $size > 0 && !(collapsed || expanded); $: height = $size * expandHeight; - $: measuring = !(collapsed || animating || expanded) + $: measuring = !(collapsed || animating || expanded);