-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
This issue has been moved from a ticket on Developer Community.
When the button that says "Click me" is clicked a new toast notification will appear. Click on the toast notification and it should show the details page. Placing a breakpoint there you will see the code is being executed however, nothing happens on the screen until AFTER you click the settings button. If you click the settings button after clicking the toast notification, then both the details page and settings page show on the screen. The details page is behind the settings page and when you click back you will see details not the main page. I have tried both lines of code below with same result there seems to be a bug when calling it from ToastNotificationManagerCompat.OnActivated.
App.Current.MainPage.Navigation.PushAsync(details);
Navigation.PushAsync(details);
Started with this tutorial but trying to switch to another page when toast is clicked:
https://github.com/gurrenm3/Toast-Notifications-with-.Net-Maui/
Original Comments
Feedback Bot on 1/29/2024, 00:10 AM:
(private comment, text removed)
Original Solutions
(no solutions)
Reproduction
https://github.com/gurrenm3/Toast-Notifications-with-.Net-Maui/