From f6901e75c4bda6f76012daf8f0f489c6dfbe8e8a Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Sat, 10 Oct 2026 02:29:03 -0400 Subject: [PATCH] fix: picking create from the create menu no longer reloads the app (#32152) The create menu's content is moved to document.body by Dropdown, which puts its Create link outside the element where SvelteKit handles link clicks, so the browser followed the link as a full page load. A plain click now prevents the default and navigates with goto, the same way the Create button and the user menu links do; modified clicks still open the link in a new tab or window. --- src/lib/components/common/SplitCreateButton.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/components/common/SplitCreateButton.svelte b/src/lib/components/common/SplitCreateButton.svelte index 00a701f3de..2337a393e0 100644 --- a/src/lib/components/common/SplitCreateButton.svelte +++ b/src/lib/components/common/SplitCreateButton.svelte @@ -86,8 +86,11 @@ {#if action.href} { + on:click={(e) => { showMenu = false; + if (e.metaKey || e.ctrlKey || e.shiftKey || e.button === 1) return; + e.preventDefault(); + runAction(action); }} >