Prism.Plugin.Popups
Prism.Plugin.Popups copied to clipboard
GoBackAsync does not trigger OnNavigateTo if using FlyoutPage
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 ?
Prism 8.0 does NOT support FlyoutPage
We use Prism 8.1 and FlyoutPage is supported by this version. Corresponding Pull request
Is the problem that FlyoutPage should also be added at this code position? Prism.Plugin.Popups.Extensions.PageExtensions
Exactly @Andreas0xffff , we are using version 8.1.97. We will have to wait for an update with this fix.
@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.
@dansiegel Any news on this?
I'm working around with EventAggregator to get around the problem, until a new corrected version comes out
same issue, reverting to MasterDetailPage works.
This is an open source repo, and I do take PRs. However keep in mind that I am busy with several different libraries and am unlikely to get to this in the next month.
Any updates on this?
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