Skip to content

Commit

Permalink
Update src/Dialog/index.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: MadCcc <1075746765@qq.com>
  • Loading branch information
kiner-tang and MadCcc committed Sep 22, 2023
1 parent 0bad56b commit 219ab76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export default function Dialog(props: IDialogPropTypes) {
className={classNames(`${prefixCls}-wrap`, wrapClassName, modalClassNames?.wrapper)}
ref={wrapperRef}
onClick={onWrapperClick}
style={{ zIndex, ...wrapStyle, display: !animatedVisible ? 'none' : null, ...modalStyles?.wrapper }}
style={{ zIndex, ...wrapStyle, ...modalStyles?.wrapper, display: !animatedVisible ? 'none' : null }}
{...wrapProps}
>
<Content
Expand Down

0 comments on commit 219ab76

Please sign in to comment.