From 83e5278b516bb5eeb68cfbe6edecec279369208a Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Sat, 17 Dec 2022 10:53:55 +0800 Subject: [PATCH] fix: dialog close when draging from in to out (#760) --- web/src/components/Dialog/BaseDialog.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/Dialog/BaseDialog.tsx b/web/src/components/Dialog/BaseDialog.tsx index 8bad61302..2373d0912 100644 --- a/web/src/components/Dialog/BaseDialog.tsx +++ b/web/src/components/Dialog/BaseDialog.tsx @@ -40,8 +40,8 @@ const BaseDialog: React.FC = (props: Props) => { }; return ( -
-
e.stopPropagation()}> +
+
e.stopPropagation()}> {children}