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

Cannot expand tabs to full width on iOS #22278

Open
JuanFcoMiranda opened this issue May 7, 2024 · 2 comments
Open

Cannot expand tabs to full width on iOS #22278

JuanFcoMiranda opened this issue May 7, 2024 · 2 comments
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

Comments

@JuanFcoMiranda
Copy link

Description

On iOS I have created an example like the one on the documentation with some tabs on the top of the page:

https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/shell/tabs?view=net-maui-8.0#bottom-and-top-tabs

But I was expecting to expand the tabs to fulfill all the witdh. On Android I made a ShellRenderer and a ShellTabLayoutAppearanceTracker to achieve this, but it is not working on iOS, even creating the ShellRenderer and the ShellTabBarAppearanceTracker.

Another expected behavior that does not work, is the ability to swipe with between the tabs with a swipe gesture, like other multiplatform frameworks do.

Steps to Reproduce

  1. Create some tabs on the top of the screen as the official documentatiion shows
  2. Create a custom ShellRenderer
  3. Create a custom ShellTabBarAppearanceTracker.
  4. Add both files to MauiProgram

Link to public reproduction project repository

https://github.com/JuanFcoMiranda/MauiExample

Version with bug

Unknown/Other

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

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

github-actions bot commented May 7, 2024

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.

@Zhanglirong-Winnie Zhanglirong-Winnie added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels May 8, 2024
@Zhanglirong-Winnie
Copy link

Verified this issue with Visual Studio 17.10 Preview 6.0 (8.0.21). Can repro on iOS platform with sample project.
iOS:
image
Android:
image

@PureWeen PureWeen added the area-controls-shell Shell Navigation, Routes, Tabs, Flyout label May 8, 2024
@PureWeen PureWeen added this to the Backlog milestone May 8, 2024
@samhouts samhouts removed s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 3, 2024
@samhouts samhouts added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

5 participants