CoreMethods.PopToRoot not working in UWP
See original GitHub issueCalling await CoreMethods.PopToRoot(true/false)
does nothing in UWP Project.
For the moment any workaround would be very appreciated.
Thx for your great work!
EDIT: I’m using FreshMvvm version 2.0.1 and Xamarin.Forms 2.1.0.6529 EDIT 2: Now, Xamarin Forms to 2.2.0.31 and FreshMvvm to 2.1.0, same problem
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
xamarin.forms - How to navigate back from ...
I use the following code to start a freshhmvvm master-detail page from a list in a navigation page. This works fine, but the...
Read more >FreshMVVM and SwitchOutRootNavigation - Xamarin.Forms
After login, I call: CoreMethods.SwitchOutRootNavigation(NavigationStacks.MainAppStack); await CoreMethods.PushPageModel(); And it works. I'm back on Page1 and ...
Read more >Display popup only once in the app - Xamarin.Forms
I am trying to modify the style of the AppBarButton, but I have got no luck in trying to override the base style...
Read more >Navigation in UWP app - Microsoft Q&A
I am trying to get a MainPage.XAML (Page) to navigate to a Page1.XAML (Content Page) in my UWP app.
Read more >Page.OnNavigatedFrom(NavigationEventArgs) Method
While it seems natural to use OnNavigatedFrom to unregister event handlers that were registered in OnNavigatedTo, this can lead to problems if your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi Marcorn,
This is a bug of Xamarin.Forms. https://bugzilla.xamarin.com/show_bug.cgi?id=31809 We just call Xamarin.Forms.NavigationPage.PopToRootAsync in FreshMvvm, so it cannot work currently. But It will be fixed in the future.
await CoreMethods.PopPageModel(true, true); await CoreMethods.PopToRoot(true);
if your Page is a modal then you should remove the modal first then popToRoot.