Top tab bar on Shell hides content (iOS only) #19159
Labels
area-controls-shell
Shell Navigation, Routes, Tabs, Flyout
area-navigation
NavigationPage
migration-compatibility
Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert
platform/iOS 🍎
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
There is a problem on iOS when attempting to add content to a page with top tabs in a shell application. The top tab bar seems to overlay the content of the page. On Android, it works as expected.
For the content, I added a StackLayout with Vertical and HorizontalOptions set to "FillAndExpand." Additionally, the layout has a margin of 8. However, as you can see on iOS, there is no top margin visible.
Steps to Reproduce
<Tab>
with multiple<ShellContent>
and Pages (or use the same page for every content).VerticalOptions="FillAndExpand"
andHorizontalOptions="FillAndExpand"
.Link to public reproduction project repository
https://github.com/BFuchshofer/Maui.iOS.TopTabBar
Version with bug
8.0.3
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 17
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: