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] Setting Shell.TabBarIsVisible="False" in navigation page causes content from other pages to display under ShellTab #22548

Closed
iCode5ometimes opened this issue May 21, 2024 · 2 comments
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/iOS 🍎 t/bug Something isn't working

Comments

@iCode5ometimes
Copy link

iCode5ometimes commented May 21, 2024

Description

On iOS, when setting Shell.TabBarIsVisible="False" on a ContentPage, breaks the content for other pages. It will be displayed under the ShellTabs.

Steps to Reproduce

  1. Create a new MAUI app.
  2. Add a TabBar for the App.
  3. Add 3 pages to the app.
  4. Add a button on each page to navigate from one page to another.
  5. On 2nd page, to see the bug, place an element at the bottom of the page. In the example given, I placed a grid with a different colour.
  6. On the last page only, set Shell.TabBarIsVisible="False" in the xaml.
  7. Run the app on iOS.
  8. Go from 1st page to the 2nd page.
  9. Go from 2nd page to 3rd page where Shell.TabBarIsVisible="False".
  10. Go back to 2nd page.

Expected result: the grid or element at the bottom of the 2nd page should be displayed properly.
Actual result: the element at the bottom of the page is displayed under the shell tabs.

Bug.mov

Link to public reproduction project repository

https://github.com/iCode5ometimes/ShellTabBug

Version with bug

8.0.7 SR2

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.2

Did you find any workaround?

No workaround found

Relevant log output

No response

@iCode5ometimes iCode5ometimes added the t/bug Something isn't working label May 21, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@PureWeen
Copy link
Member

Duplicate of #17390

Workaround here
#17390 (comment)

@github-actions github-actions bot locked and limited conversation to collaborators Jun 24, 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 platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants