Changes
1 changed files (+6/-1)
-
-
@@ -76,9 +76,14 @@ if (window.navigation) {return; } const dest = new URL(ev.destination.url); if (!dest.pathname.endsWith("/")) { return; } ev.intercept({ async handler() { const r = await route(new URL(ev.destination.url).pathname); const r = await route(dest.pathname); // NOTE: Chrome seems to have a bug that it can't scroll at all on Navigation API. // I don't know what causes this.
-