Mac and iOS: Clicking on an already-selected tab triggered the Navigating event unnecessarily.
Windows: The Navigating event was not triggered when switching tabs.
Root Cause
Mac and iOS: The event was triggered without checking if the tab was already selected.
Windows: There was no code in place to trigger the Navigating event upon tab switches.
Description of Change
Mac and iOS: Modified the code to trigger Navigating only if a new tab is selected.
Windows: Added logic to trigger Navigating when switching to a different tab.
Issue Detail
Mac and iOS: Clicking on an already-selected tab triggered the Navigating event unnecessarily. Windows: The Navigating event was not triggered when switching tabs.
Root Cause
Mac and iOS: The event was triggered without checking if the tab was already selected. Windows: There was no code in place to trigger the Navigating event upon tab switches.
Description of Change
Mac and iOS: Modified the code to trigger Navigating only if a new tab is selected. Windows: Added logic to trigger Navigating when switching to a different tab.
Tested the behaviour in the following platforms
Issues Fixed
Fixes https://github.com/dotnet/maui/issues/25599
Screenshots