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 283ead8 commit 2418e05Copy full SHA for 2418e05
src/DrawerPopup.tsx
@@ -220,8 +220,8 @@ const DrawerPopup: React.ForwardRefRenderFunction<
220
);
221
222
// ============================ Mask ============================
223
- const maskNode: React.ReactNode = mask && (
224
- <CSSMotion key="mask" {...maskMotion} visible={open}>
+ const maskNode: React.ReactNode = (
+ <CSSMotion key="mask" {...maskMotion} visible={mask && open}>
225
{(
226
{ className: motionMaskClassName, style: motionMaskStyle },
227
maskRef,
0 commit comments