From 3572ce1538a20e7176d2cb2f75f8962fd08ef0ab Mon Sep 17 00:00:00 2001 From: Vben Date: Sun, 29 Sep 2024 22:15:43 +0800 Subject: [PATCH] fix: when multiple pop-ups exist at the same time, clicking will close all (#4548) --- packages/@core/ui-kit/popup-ui/src/drawer/drawer.vue | 10 +++++++--- packages/@core/ui-kit/popup-ui/src/modal/modal.vue | 10 +++++++--- .../src/components/ui/dialog/DialogOverlay.vue | 5 ++++- .../shadcn-ui/src/components/ui/sheet/SheetOverlay.vue | 5 ++++- 4 files changed, 22 insertions(+), 8 deletions(-) diff --git a/packages/@core/ui-kit/popup-ui/src/drawer/drawer.vue b/packages/@core/ui-kit/popup-ui/src/drawer/drawer.vue index c15cdb9d..4f80f9e5 100644 --- a/packages/@core/ui-kit/popup-ui/src/drawer/drawer.vue +++ b/packages/@core/ui-kit/popup-ui/src/drawer/drawer.vue @@ -1,7 +1,7 @@ diff --git a/packages/@core/ui-kit/shadcn-ui/src/components/ui/sheet/SheetOverlay.vue b/packages/@core/ui-kit/shadcn-ui/src/components/ui/sheet/SheetOverlay.vue index 1be8b011..0a153c7a 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/components/ui/sheet/SheetOverlay.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/components/ui/sheet/SheetOverlay.vue @@ -1,11 +1,14 @@