Skip to content

Commit

Permalink
remove misinformation (#2650)
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Dec 5, 2022
1 parent e6bdbcf commit 5e62933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/drafts/Dialog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The dialog component is the Primer implementation of the ARIA design pattern [Di

**All dialogs should have a title and a close button**. Use the `title` prop to set the title. The close button is created automatically, but must be handled with an `onClose` prop.

**Dialogs are modal**. Dialogs can be dismissed by clicking on the close button, or by interacting with another button in the overlay. To avoid losing information and missing important messages, clicking outside of the dialog will not close it.
**Dialogs are modal**. Dialogs can be dismissed by clicking on the close button, by interacting with another button in the overlay, or by clicking outside of the overlay.

**(Coming soon) Make sure larger dialogs remain mobile-friendly**. Even large dialogs need to be responsive. A dialog's width and height will be readjusted depending on the screen size and should never exceed the available space. Use responsive solutions to adjust the UI so they behave well on smaller screens.

Expand Down

0 comments on commit 5e62933

Please sign in to comment.