Monorepo for Tangled tangled.org

Back buttons feel janky in new UI #4635

Closed tbodt.com
Closed opened by tbodt.com
assigned to eti.tf

Video demonstration: https://youtu.be/WFC7geBf3ls. Takes about 700ms to use the forward or back buttons. For going back, there's no visual feedback at all until the page finishes loading.

With JS disabled, extremely snappy: https://youtu.be/A2xdKVa1IbY

IMO throw out client-side link following 😛

diff --git a/web/src/app.html b/web/src/app.html
index fc46780123..c693571744 100644
--- a/web/src/app.html
+++ b/web/src/app.html
@@ -40,7 +40,7 @@
                </script>
                %sveltekit.head%
        </head>
-       <body data-sveltekit-preload-data="hover" class="flex min-h-screen flex-col">
+       <body data-sveltekit-reload class="flex min-h-screen flex-col">
                <div style="display: contents">%sveltekit.body%</div>
        </body>
 </html>

fixed with #4779! uses the same technique as svelte themselves for now.. 🙇

Sign up or Sign in to add to the discussion.