Skip to content

Commit

Permalink
fix: fix the issue in the demo where the p element covers the close b…
Browse files Browse the repository at this point in the history
…utton, resulting in invalid clicks (#396)
  • Loading branch information
binyellow committed Jan 31, 2024
1 parent e2d12f4 commit 7a3bb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/multiple-Portal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const Demo = () => {
maskAnimation="fade"
onClose={onToggleDialog}
forceRender
title="basic modal"
>
<p>basic modal</p>
<p><button type="button" onClick={onToggleDrawer}>show drawer</button></p>
<div style={{ height: 200 }} />
</Dialog>
Expand Down

0 comments on commit 7a3bb93

Please sign in to comment.