© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
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.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Modal navigation not showing titlebar
C#CC# / help
3y ago
✅ Navigation Property
C#CC# / help
2y ago
WPF Window Navigation
C#CC# / help
12mo ago
❔ Xamarin Navigation Issue
C#CC# / help
4y ago