[iOS] Shell TabBar overlaps ContentPage when calling Shell.SetTabBarIsVisible(this, true) #10591
Labels
area-controls-shell
Shell Navigation, Routes, Tabs, Flyout
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
On iOS the Shell TabBar cuts off the bottom of a ContentPage when manually setting
Shell.SetTabBarIsVisible(BindableObject obj, bool visible)
or when bindingShell.TabBarIsVisible
to a property.It seems like there is a layout update missing when calling
Shell.SetTabBarIsVisible(this, true);
, because bottom items disappear behind the TabBar and centered elements appear lower afterwards. This indicates that the ContentPage extends behind the TabBar instead of being correctly recalculated.Steps to Reproduce
OnSizeAllocated(double width, double height)
of MainPage and callShell.SetTabBarIsVisible(this, height > width);
Expected result: The TabBar is correctly shown and hidden and the ContentPage is always rendered correctly
Actual result: The TabBar hides the bottom of the ContentPage after calling
Shell.SetTabBarIsVisible(this, height > width);
Link to public reproduction project repository
https://github.com/ewerspej/dotnet-maui-bug-tabbar-ios-cutoff/
Version with bug
7.0.0-rc.1.22426.10
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 15.5
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: