MudDialog: Fix content not stretched in fullscreen mode #8743
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Apparently this was a regression which I expect was caused by the addition of a Focus Trap. The dialog content was expecting a flex parent, but the focus trap intercepted that.
This adds classes to the MudFocusTrap and the container for the child content so you can apply styles and debug the layout easier by default.
With those extra classes I applied flex to the intemediary components to make the dialog content grow as intended. Flex is the easier way to do this.
Resolves #5651
Resolves #6994
How Has This Been Tested?
visually
Type of Changes
Before
After
I had to hide the Scroll to Top FAB in those images because for some reason they are visible over the dialog.
Checklist
dev
).