diff --git a/solara/server/templates/solara.html.j2 b/solara/server/templates/solara.html.j2 index b490e45d3..abe0af3f2 100644 --- a/solara/server/templates/solara.html.j2 +++ b/solara/server/templates/solara.html.j2 @@ -40,6 +40,10 @@ {% endblock header %} @@ -298,7 +302,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; }