drawer focus

This commit is contained in:
Ruben Fiszel
2023-03-01 01:21:32 +01:00
parent f3f95fa865
commit 90a12f6131
@@ -70,7 +70,13 @@
<Portal target="#app-editor-top-level-drawer">
<Drawer bind:this={appDrawer} size="800px" alwaysOpen positionClass="!absolute">
<DrawerContent title={drawerTitle} on:close={appDrawer.toggleDrawer}>
<DrawerContent
title={drawerTitle}
on:close={() => {
appDrawer?.toggleDrawer()
$focusedGrid = undefined
}}
>
{#if $app.subgrids?.[`${id}-0`]}
<SubGridEditor
{noPadding}