Fix workspace popup position (#2466)

Signed-off-by: Denis Maslennikov <denis.maslennikov@gmail.com>
This commit is contained in:
Denis Maslennikov 2022-12-23 00:49:14 +07:00 committed by GitHub
parent d7dd260016
commit baaf4f7ada
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -69,6 +69,7 @@
}
onMount(() => {
dispatch('update')
if (btns[0]) {
btns[0].focus()
}

View File

@ -73,7 +73,7 @@
</script>
{#if workspaces.length}
<Menu {actions} on:close />
<Menu {actions} on:update on:close />
{:else}
<Loading />
{/if}