We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e504f6d commit 4daa8c2Copy full SHA for 4daa8c2
packages/perseus/src/shell.rs
@@ -228,6 +228,8 @@ pub async fn app_shell(
228
let initial_html = initial_container.inner_html();
229
container_rx_elem.set_inner_html(&initial_html);
230
initial_container.set_inner_html("");
231
+ // Make the initial container invisible
232
+ initial_container.set_attribute("style", "display: none;").unwrap();
233
checkpoint("page_visible");
234
// Now that the user can see something, we can get the translator
235
let mut translations_manager_mut = translations_manager.borrow_mut();
0 commit comments