File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
client/packages/lowcoder/src/comps/hooks Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -217,8 +217,9 @@ const DrawerView = React.memo((
217
217
body : {
218
218
padding : 0 ,
219
219
background : props . style . background
220
- }
221
- } ) , [ props . style . background ] ) ;
220
+ } ,
221
+ mask : props . showMask ? undefined : { background : "transparent" }
222
+ } ) , [ props . style . background , props . showMask ] ) ;
222
223
223
224
const rootStyle = useMemo ( ( ) =>
224
225
props . visible . value ? { overflow : "auto" , pointerEvents : "auto" } : { } ,
@@ -232,7 +233,7 @@ const DrawerView = React.memo((
232
233
resizable = { resizable }
233
234
onResizeStop = { onResizeStop }
234
235
rootStyle = { rootStyle as any }
235
- styles = { drawerStyles }
236
+ styles = { drawerStyles as any }
236
237
title = { props . title }
237
238
$titleAlign = { props . titleAlign }
238
239
$drawerScrollbar = { props . drawerScrollbar }
@@ -248,7 +249,7 @@ const DrawerView = React.memo((
248
249
afterOpenChange = { afterOpenChange }
249
250
zIndex = { Layers . drawer }
250
251
maskClosable = { props . maskClosable }
251
- mask = { props . showMask }
252
+ mask = { true }
252
253
className = { clsx ( `app-${ appID } ` , props . className ) }
253
254
data-testid = { props . dataTestId as string }
254
255
>
You can’t perform that action at this time.
0 commit comments