[Windows] Shell flyout template items do not have a margin applied on first show #18423
Open
Description
Description
Shell item margins are incorrect when the shell flyout is first shown on Windows (affects 7.0.96 and 8.0.0-rc.2)
Steps to Reproduce
- Add an item template with some margin and enable the flyout
- Show the flyout
- Hide the flyout
- Show the flyout again
Expected: Flyout item templates should display with the margin applied on first show
Actual: Flyout item templates margins are only applied on subsequent shows
Link to public reproduction project repository
https://github.com/molesmoke/MauiTestApp/tree/shell-item-alignment
Version with bug
7.0.96
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response