Unable to pop modal and navigate in the same function #2719
-
Xamarin.Forms - 5.0.0.2478 I've been making a little app for myself to help me get more familiar with both Xamarin.Forms and Prism. public async Task NavigateToFlowAsync(){
await NavigationService.GoBackAsync(true);
await NavigationService.NavigateAsync($"{nameof(NavigationPage)}/{nameof(NewPage)}");
} This function is implemented and called from a page that is in the modal that's being popped. The idea is that this page will be the last in a flow that occurs within a modal, and the user can make a selection on this page that should pop the modal and then navigate to an arbitrary The current behavior is that the modal is successfully popped, but the subsequent navigation doesn't happen. I've tried looking at the I'd greatly appreciate any help with this, and also welcome any feedback in regards to formulating my question. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can't navigate from a page you just removed from the navigation stack. |
Beta Was this translation helpful? Give feedback.
You can't navigate from a page you just removed from the navigation stack.