From baaf4f7ada2ef90cb97033136ac432e43473a82d Mon Sep 17 00:00:00 2001 From: Denis Maslennikov <41147528+disant1@users.noreply.github.com> Date: Fri, 23 Dec 2022 00:49:14 +0700 Subject: [PATCH] Fix workspace popup position (#2466) Signed-off-by: Denis Maslennikov --- packages/ui/src/components/Menu.svelte | 1 + .../src/components/SelectWorkspaceMenu.svelte | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/ui/src/components/Menu.svelte b/packages/ui/src/components/Menu.svelte index 63ece50530..94903278ea 100644 --- a/packages/ui/src/components/Menu.svelte +++ b/packages/ui/src/components/Menu.svelte @@ -69,6 +69,7 @@ } onMount(() => { + dispatch('update') if (btns[0]) { btns[0].focus() } diff --git a/plugins/workbench-resources/src/components/SelectWorkspaceMenu.svelte b/plugins/workbench-resources/src/components/SelectWorkspaceMenu.svelte index eb29bbaaf2..61dc75a6e4 100644 --- a/plugins/workbench-resources/src/components/SelectWorkspaceMenu.svelte +++ b/plugins/workbench-resources/src/components/SelectWorkspaceMenu.svelte @@ -73,7 +73,7 @@ {#if workspaces.length} - + {:else} {/if}