Hello,
How can I pop all pages in NavigationStack included in a NavigationItem when the current navigation index changes?. The idea is to go to the initial page in the NavigationStack when the user changes the Navigation page and the go back to the previous one.
Thanks.