From b59d9003f95a1d68d7a3687164598853e697fc55 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Mon, 13 May 2019 08:56:21 -0400 Subject: [PATCH] leave anchor scrolling on initial load to browser (#331) --- runtime/src/app/start/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/app/start/index.ts b/runtime/src/app/start/index.ts index c68f371..858eb32 100644 --- a/runtime/src/app/start/index.ts +++ b/runtime/src/app/start/index.ts @@ -40,7 +40,7 @@ export default function start(opts: { if (initial_data.error) return handle_error(url); const target = select_target(url); - if (target) return navigate(target, uid, false, hash); + if (target) return navigate(target, uid, true, hash); }); }