make app drawer subgrid take full height (#5457)

This commit is contained in:
Alexander Petric
2025-03-07 12:15:27 +01:00
committed by GitHub
parent 2ea589a1e4
commit 72c7c21ea4

View File

@@ -46,6 +46,8 @@
open: false
})
let containerHeight: number = 0
let appDrawer: Drawer
$componentControl[id] = {
@@ -146,6 +148,7 @@
<div
class={twMerge('h-full', css?.drawer?.class, 'wm-drawer')}
style={css?.drawer?.style}
bind:clientHeight={containerHeight}
on:pointerdown={(e) => {
e?.stopPropagation()
if (!$connectingInput.opened) {
@@ -161,6 +164,7 @@
<SubGridEditor
visible={open && render}
{id}
{containerHeight}
subGridId={`${id}-0`}
on:focus={() => {
if (!$connectingInput.opened) {