diff --git a/solara/server/templates/solara.html.j2 b/solara/server/templates/solara.html.j2 index 553df1f6f..1563c8668 100644 --- a/solara/server/templates/solara.html.j2 +++ b/solara/server/templates/solara.html.j2 @@ -42,6 +42,10 @@ {% endblock header %} @@ -334,7 +338,11 @@ // so we mount it when loading becomes false if (solara.preRendered && !this.mounted) { this.isMounted = true; - this.$mount("#app") + document.body.classList.add('solara-disable-animations'); + this.$mount("#app"); + setTimeout(() => { + document.body.classList.remove('solara-disable-animations'); + }, 1000); } else { this.isMounted = true; }