From d6544935b4e9330c738b9402a22b8662e78d56eb Mon Sep 17 00:00:00 2001 From: p-sw Date: Sat, 22 Jun 2024 08:01:12 +0900 Subject: [PATCH] fix: update drawer to latest this update ad touch-none to drawerOverlay to prevent accident outside touch scrolling --- src/pswui/components/Drawer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pswui/components/Drawer.tsx b/src/pswui/components/Drawer.tsx index 77d4e0c..7b6cc35 100644 --- a/src/pswui/components/Drawer.tsx +++ b/src/pswui/components/Drawer.tsx @@ -79,7 +79,7 @@ const [drawerOverlayVariant, resolveDrawerOverlayVariantProps] = vcn({ base: "fixed inset-0 transition-[backdrop-filter] duration-75", variants: { opened: { - true: "pointer-events-auto select-auto", + true: "pointer-events-auto select-auto touch-none", // touch-none to prevent outside scrolling false: "pointer-events-none select-none", }, },