We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a935bc9 commit 5a278deCopy full SHA for 5a278de
src/DrawerPopup.tsx
@@ -217,8 +217,8 @@ function DrawerPopup(props: DrawerPopupProps, ref: React.Ref<HTMLDivElement>) {
217
);
218
219
// ============================ Mask ============================
220
- const maskNode: React.ReactNode = mask && (
221
- <CSSMotion key="mask" {...maskMotion} visible={open}>
+ const maskNode: React.ReactNode = (
+ <CSSMotion key="mask" {...maskMotion} visible={mask && open}>
222
{(
223
{ className: motionMaskClassName, style: motionMaskStyle },
224
maskRef,
0 commit comments