iOS - Shell - SetTabBarIsVisible does not resize the page to take up the space left by the tab bar #21135
Labels
area-controls-shell
Shell Navigation, Routes, Tabs, Flyout
migration-compatibility
Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert
platform/iOS 🍎
t/bug
Something isn't working
Description
On iOS, hiding the Shell tab bar does not resize the page to take up the space left by the tab bar. I noticed that this worked as intended on Xamarin Forms. I am in the process of upgrading an app from Xamarin Forms to MAUI. I have not tested this in previous versions of MAUI.
Here is a video of the bug on iOS
ios_bug.mov
It works as expected on Android
android_works.mov
If the action also toggles the visibility of the NavBar, then the TabBar space will be reclaimed as expected on iOS
ios_with_nav_bar_works.mov
Here is a screenshot of my dotnet workloads
Steps to Reproduce
I added a basic test app that has a button that will toggle the visibility of the tab bar.
Tap the button and observe that the bug on iOS but works on Android.
Link to public reproduction project repository
https://github.com/mattdreiss/maui-tab-bar-bug
Version with bug
8.0.6 SR1
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?
I have not found a workaround yet.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: