-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
scope: dialogChanges related to the dialog.Changes related to the dialog.scope: stylesSpecific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.v0.x
Description
Problem Description
When I specify a width for the Dialogue component, it doesn't size to the width I want, but 75% percent of that. Also, if I specify a width, the component does not center itself accordingly. I am specifying the width via the style attribute e.g.:
<Dialogue
style={{ width: 500 }}
/>
I realize that this style attribute corresponds more to the width of window.
As the background behind the modal always grays out the entire screen and not only the user specified width, it doesn't make sense for the style props's width key to correspond to the width of the window.
I find this unintuitive and think the usability of this component could be revised so that it corresponds more to how a user would approach it's customization.
I would include a screen shot, but I'm working under NDA.
Versions
- Material-UI: 0.14.4
- React: 0.14.7
- Browser: Chrome
Metadata
Metadata
Assignees
Labels
scope: dialogChanges related to the dialog.Changes related to the dialog.scope: stylesSpecific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.v0.x