Material-ui: [Dialog] Dynamic dialog width?

Created on 28 Feb 2017  Â·  3Comments  Â·  Source: mui-org/material-ui

Is there anyway to set dialog to auto width according to the content?

duplicate

Most helpful comment

I can use it but then it's not a real solution, it will be fixed predefined
size.

I'm looking for solution that will handle the width according to the
content.

Also, you're answer was so rude, thank you.

On Mar 2, 2017 15:03, "Olivier Tassinari" notifications@github.com wrote:

I'm sure you can use some of the style properties to target the right
element to change the width of the dialog. I'm closing for #1467
https://github.com/callemall/material-ui/issues/1467.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/callemall/material-ui/issues/6250#issuecomment-283647723,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB5hbeXUGDlfTHro5MQJIIEvALy4473Qks5rhr4EgaJpZM4MOV62
.

All 3 comments

I'm sure you can use some of the style properties to target the right element to change the width of the dialog. I'm closing for #1467.

I can use it but then it's not a real solution, it will be fixed predefined
size.

I'm looking for solution that will handle the width according to the
content.

Also, you're answer was so rude, thank you.

On Mar 2, 2017 15:03, "Olivier Tassinari" notifications@github.com wrote:

I'm sure you can use some of the style properties to target the right
element to change the width of the dialog. I'm closing for #1467
https://github.com/callemall/material-ui/issues/1467.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/callemall/material-ui/issues/6250#issuecomment-283647723,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB5hbeXUGDlfTHro5MQJIIEvALy4473Qks5rhr4EgaJpZM4MOV62
.

I'm looking for solution that will handle the width according to the
content.

We expose customization points to the underlying Dialog elements. That's should be enough to implement the describe functionality. If not, let us know.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TimoRuetten picture TimoRuetten  Â·  3Comments

zabojad picture zabojad  Â·  3Comments

finaiized picture finaiized  Â·  3Comments

mb-copart picture mb-copart  Â·  3Comments

rbozan picture rbozan  Â·  3Comments