fix: update drawer to latest
this update ad touch-none to drawerOverlay to prevent accident outside touch scrolling
This commit is contained in:
parent
cc495be879
commit
d6544935b4
@ -79,7 +79,7 @@ const [drawerOverlayVariant, resolveDrawerOverlayVariantProps] = vcn({
|
|||||||
base: "fixed inset-0 transition-[backdrop-filter] duration-75",
|
base: "fixed inset-0 transition-[backdrop-filter] duration-75",
|
||||||
variants: {
|
variants: {
|
||||||
opened: {
|
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",
|
false: "pointer-events-none select-none",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user