C
C#11mo ago
r2d25551

❔ Navigation.PushModalAsync() not modal

I am trying to popup a modal ConetPage using:
await Navigation.PushModalAsync(new DetailsPage());
await Navigation.PushModalAsync(new DetailsPage());
From a class inheritance of:
MainPage = new AppShell();
MainPage = new AppShell();
Sadly neither of these worked:
await Application.Current.MainPage.Navigation.PushModalAsync(popup);
await Shell.Current.Navigation.PushModalAsync(popup);
await Application.Current.MainPage.Navigation.PushModalAsync(popup);
await Shell.Current.Navigation.PushModalAsync(popup);
During a button event I am trying to display another page in modal form and wait for the user response. This page is based on ContentPage, contains a VerticalStackLayout, ScrollView, and CollectionView.
1 Reply
Accord
Accord11mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.