fix: remove touch-none to support touch scrolling in mobile devices

This commit is contained in:
p-sw 2024-06-22 07:41:06 +09:00
parent d930c44bb0
commit ffba99a229

View File

@ -155,7 +155,7 @@ const [drawerContentVariant, resolveDrawerContentVariantProps] = vcn({
right: "right-0 inset-y-0 h-screen rounded-r-lg border-l-2",
},
opened: {
true: "touch-none",
true: "",
false:
"[&.top-0]:-translate-y-full [&.bottom-0]:translate-y-full [&.left-0]:-translate-x-full [&.right-0]:translate-x-full",
},