This issue occurs within our application that utilizes a TabView for managing multiple tabs. The first tab represents the home screen. Within the home tab, a GroupBox contains a NavigationLink that navigates the user to a 'Electric' view.
Current Behavior:
The user taps the NavigationLink within the home tab, successfully navigating to the 'Electric' view.
While in the 'Electric' view, tapping the home tab icon (represented by systemImage of "house") has no effect.
Expected Behavior:
Tapping the home tab icon while in any other tab view should navigate the user back to the home screen. This includes scenarios where the user has already navigated away from the home screen using the NavigationLink.
Acceptance Criteria:
Clicking the home tab icon from any non-home tab view successfully navigates the user back to the home screen.
The home tab content is displayed upon returning to the home screen.
Tapping the home tab icon while already on the home screen has no additional effect (no unintended navigation or behavior changes).
Background:
This issue occurs within our application that utilizes a TabView for managing multiple tabs. The first tab represents the home screen. Within the home tab, a GroupBox contains a NavigationLink that navigates the user to a 'Electric' view.
Current Behavior:
The user taps the NavigationLink within the home tab, successfully navigating to the 'Electric' view. While in the 'Electric' view, tapping the home tab icon (represented by systemImage of "house") has no effect.
Expected Behavior:
Tapping the home tab icon while in any other tab view should navigate the user back to the home screen. This includes scenarios where the user has already navigated away from the home screen using the NavigationLink.
Acceptance Criteria: