[Bug]: Modeless Dialog Loses Horizontal Size
Contact Details
What happened?
Display a modal dialog a medium width using your demo page. Then turn disable modality. Now the dialog is displayed at the correct size then suddenly drops down to a far smaller size. Positioning is also really janky.
Expected Behavior
If I enable "FullWidth" then I expect it to work. I can see that the element has a percentage width applied for some reason that overrides the normal dialog width values but I couldn't work out a way to get it to work properly.
Screenshots
No response
Reproduction link
No response
What application type are you referring to?
ServerRendered
Custom Application Type
No response
MudBlazor.Extension Version
8.15
MudBlazor Version
8.15
What .net Version are you using?
.Net10
What browser are you using?
Edge
Sample Solution
No response
Pull Request
No response
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
I cannot reproduce this on the demo page with the current version, the dialog keeps its width when modality is switched off. Please share a try.mudex.org snippet or the exact steps (which demo, which options). Independent of that, the non-modal implementation is being reworked (it currently moves the dialog element out of the MudBlazor container, which is also behind #42/#125/#204), so this may resolve itself with that change; I will report back here.