question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GoBackAsync does not trigger OnNavigateTo if using FlyoutPage

See original GitHub issue

No projeto de amostra, ao navegar a partir do exemplo “FLYOUT PAGE”, o GoBackAsync não dispara o OnNavigatedTo da viewModel MainPageViewModel:

https://github.com/dansiegel/Prism.Plugin.Popups/blob/b35e05473e23493b75cdd2ab617fde0300d84ce3/samples/src/PopupPluginSample/ViewModels/PopupViewModel.cs#L52

private async void OnNavigateBackCommandExecuted() { await _navigationService.GoBackAsync(new NavigationParameters{ { "message", "Hello from the Popup View" } }); }

I noticed that when navigating from the example “MASTER DETAIL PAGE” it works normally.

What could it be ? should i configure something specific or would it be a navigation issue with FlyoutPage ?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
JaccoDielemancommented, Mar 11, 2022

This problem is already solved in the master branch. So we need to do one of the following:

  • Become a sponsor, so we get access to the nuget feed with the pre-release
  • Build and add the nuget package to a private feed ourselves
  • Be patient
1reaction
Andreas0xffffcommented, Sep 15, 2021

@davibittencourtome Wait for an update of PrismLibrary/Prism (current version 8.1.97) or dansiegel/Prism.Plugin.Popups (current version 8.0.76)? The Prism.Plugin.Popups alredy references 8.1.97 in its csproj. I think this issue should be reopened.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why doesn't GoBackAsync() fire on OnNavigatedTo ...
I have two pages pageA and pageB. When I navigate from pageA to pageB and later execute _navigationService.GoBackAsync() , it works correctly ...
Read more >
GoBackAsync not firing OnNavigatedTo · Issue #977
I have a problem with the navigation service on version 6.3 when I call _navigationService.GoBackAsync(navParams) it does not fire the ...
Read more >
Navigation doesn't work when trying to GoBack ...
I have a HelpPage in my project that has a BackButton with this command on BaseViewModel: DelegateCommand _goBack; public DelegateCommand ...
Read more >
Navigation Basics
Page navigation in Prism is accomplished by using the INavigationService. ... If you do not register your Pages with Prism, navigation will not...
Read more >
Page Navigation | Prism
When navigating within the context of a NavigationPage, the Navigation Service understands that the next page will be added to the NavigationPage and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found