Skip to content

Commit 7a3bb93

Browse files
authored
fix: fix the issue in the demo where the p element covers the close button, resulting in invalid clicks (#396)
1 parent e2d12f4 commit 7a3bb93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/examples/multiple-Portal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ const Demo = () => {
2525
maskAnimation="fade"
2626
onClose={onToggleDialog}
2727
forceRender
28+
title="basic modal"
2829
>
29-
<p>basic modal</p>
3030
<p><button type="button" onClick={onToggleDrawer}>show drawer</button></p>
3131
<div style={{ height: 200 }} />
3232
</Dialog>

0 commit comments

Comments
 (0)