-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shell Flyout header spacing and dynamic height issue on iOS #25435
Comments
We've found some similar issues:
If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.
|
This ticket is closed, but still not resolved |
https://github.com/akhilvswoodplc/MauiShellIssueRepro Added the repro sample in this repo. As in the screenshot, there is a top spacing between statusbar and flyout header. |
This issue has been verified using Visual Studio 17.12.0 Preview 4(8.0.92 & 8.0.71). Can repro this issue at iOS platform. |
The issue comes when you have a different statusbar color. The image shows just white color. When you change that, the spacing is evident. @kubaflo |
The issue comes when you have a different statusbar color. The image shows just white color. When you change that, the spacing is evident. |
@akhilvswoodplc By I cannot relocate it on Net9 I meant the scaling issue not the spacing. But I still think that the status flyout header is correctly placed (I might be wrong though) This is similar to #24972 |
@jfversluis Could we transfer this issue to the Community Toolkit repo? I think have more sense there. |
This is indeed something for the .NET MAUI CommunityToolkit. Already reported here: CommunityToolkit/Maui#2287 so please track the progress there. Closing this one here for now. |
Description
Shell flyout header on iOS shows a spacing on the top between navigation bar and header. Also the Header height is not dynamically adjusting with the content bind to it after rendering the Shell layout
On Android, this is working fine and layout expands with consistent spacing with dynamic content.
Steps to Reproduce
Add a shell layout and add a flyout header with some dynamic content bind to it. Set the dynamic data after rendering the Shell.
<Shell.FlyoutHeader> <VerticalStackLayout Padding="10" BackgroundColor="{Binding BackgroundColour}" MinimumHeightRequest="80" VerticalOptions="CenterAndExpand"> <Label FontSize="22" Style="{StaticResource BoldLabel}" Text="{Binding Session.UserName}" TextColor="White" /> <Label FontSize="Small" Text="{Binding Session.LevelE, Converter={StaticResource levelEConverter}}" TextColor="White" /> </VerticalStackLayout> </Shell.FlyoutHeader>
Link to public reproduction project repository
No response
Version with bug
8.0.91 SR9.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: