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 025ca7420e5..c15cdb9d2a9 100644 --- a/packages/@core/ui-kit/popup-ui/src/drawer/drawer.vue +++ b/packages/@core/ui-kit/popup-ui/src/drawer/drawer.vue @@ -83,8 +83,8 @@ function escapeKeyDown(e: KeyboardEvent) { // pointer-down-outside function pointerDownOutside(e: Event) { const target = e.target as HTMLElement; - const isDismissableModal = !!target?.dataset.dismissableModal; - if (!closeOnClickModal.value || !isDismissableModal) { + const dismissableDrawer = !!target?.dataset.dismissableDrawer; + if (!closeOnClickModal.value || !dismissableDrawer) { e.preventDefault(); } } 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 64113eeef6f..1be8b01156f 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 @@ -6,6 +6,6 @@ useScrollLock();