Skip to content

orlandommb/MAUITabsBugSample

Repository files navigation

MauiTabBarBugRepro

This project is a minimal .NET MAUI Shell application with 7 tabs to demonstrate the command disconnection bug in the TabBar "More" section.

Bug Reproduction

  1. Run the app on iOS or Android.
  2. You will only see 5 tabs, the rest will be in the "More" button.
  3. Select Tab 6 or Tab 7 from "More".
  4. Tap "Test Command" (it should work).
  5. Tap "Navigate to Detail" to go to the detail page.
  6. Tap "Go Back" to return.
  7. Tap "Test Command" again: the command will be disconnected and will not respond.

Expected Behavior

  • The "Test Command" button should continue working after navigating back.

Actual Behavior

  • The navigation command becomes disconnected in tabs accessed from "More".
  • Important note: Navigation commands (NavigateToDetailCommand) stop working after navigating back to the origin page in nested tabs accessed via the TabBar "More" button. Other MVVM commands continue to work correctly in all tabs, including those accessed via "More".

Verification

  • In tabs 1-5, all commands continue working after navigating back.
  • In tabs 6-7 (accessed via "More"), navigation commands become disconnected after navigating back, other commands continue working.

Stack

  • .NET MAUI
  • CommunityToolkit.Mvvm

Structure

  • ViewModels: logic and commands
  • Views: tab and detail pages
  • Shell: navigation and route configuration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages