Skip to content
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

iOS - Shell - SetTabBarIsVisible does not resize the page to take up the space left by the tab bar #21135

Closed
mattdreiss opened this issue Mar 11, 2024 · 3 comments
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

Comments

@mattdreiss
Copy link

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
Screenshot 2024-03-11 at 10 27 49 AM

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

@mattdreiss mattdreiss added the t/bug Something isn't working label Mar 11, 2024
@PureWeen PureWeen added migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert platform/iOS 🍎 labels Mar 11, 2024
@PureWeen
Copy link
Member

Can you test with the latest nightly build?
https://github.com/dotnet/maui/wiki/Nightly-Builds

@PureWeen PureWeen added the s/needs-info Issue needs more info from the author label Mar 11, 2024
@mattdreiss
Copy link
Author

@PureWeen Thank you for your quick response! I updated the repo to use the nightly build and I still see the issue.

@PureWeen PureWeen removed the s/needs-info Issue needs more info from the author label Mar 11, 2024
@PureWeen
Copy link
Member

Duplicate of #17390

@PureWeen PureWeen marked this as a duplicate of #17390 Mar 11, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2024
@samhouts samhouts added the area-controls-shell Shell Navigation, Routes, Tabs, Flyout label Aug 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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
Projects
None yet
Development

No branches or pull requests

3 participants