mui-org/material-ui









Way to add closeIcon to <Dialog /> #13520
albinekb posted onGitHub
I have gotten a lot of user feedback that users don't understand how to close Dialogs. They don't understand that they can press esc
nor that they can just click anywhere outside the Dialog to close it.
<!-- Checked checkbox should look like this: [x] -->
- This is not a v0.x issue. <!-- (v0.x is no longer maintained) -->
- I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
I'd like an option to include a "closeIcon" that should be shown top right, like facebook has for all their Dialogs
Current Behavior
Users don't understand how to close dialogs
Examples
Context
I'm trying to make my app easier to use. Is there a way to extend <Dialog />
without needing to re-implement all of the <Dialog />
behaviour?