From 74717ee5b2027ded100795e23b732981152add87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=B8=E9=B9=BF?= Date: Fri, 3 Dec 2021 11:47:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20grid=E5=B8=83=E5=B1=80=E4=B8=8BdropLocat?= =?UTF-8?q?ion=E8=93=9D=E8=89=B2=E6=A0=87=E8=AF=86=E5=BA=94=E5=BD=93?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E5=9C=A8=E5=B7=A6=E5=8F=B3,=20close=20#11252?= =?UTF-8?q?2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/designer/src/designer/location.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/designer/src/designer/location.ts b/packages/designer/src/designer/location.ts index eec210b35..84e2a7be5 100644 --- a/packages/designer/src/designer/location.ts +++ b/packages/designer/src/designer/location.ts @@ -78,6 +78,9 @@ export function isRowContainer(container: Element | Text, win?: Window) { return true; } } + if (/grid$/.test(display)) { + return true; + } return false; }