HELP Push Modal Page Not Working! Migrate from Xamarin.Forms to MAUI Prism Library #2828
Replies: 6 comments 7 replies
-
Agreed, there seems to be an issue with showing a page as modal in Prism Maui. The page ends up always getting shoved into the flyout detail page and not shown as a modal. I pulled a sample project that showcase modals but it was referencing an older version of Prism Maui source and modals worked. I then changed it to use latest Prism.Maui nuget and modals stopped working and pages are loaded in the flyout detail. @giuseppenovielli did you create a github issue for this yet? |
Beta Was this translation helpful? Give feedback.
-
@mnxamdev which prism.maui's version work with ModalPage? |
Beta Was this translation helpful? Give feedback.
-
@dansiegel @brianlagunas when possible can you check if this is a bug or we write a wrong code, to show modal pages? Thanks! |
Beta Was this translation helpful? Give feedback.
-
@dansiegel @brianlagunas This is still an issue at the moment. Have tried everything but can't get a page to open modally. currently using: prism.maui 8.1.273-pre |
Beta Was this translation helpful? Give feedback.
-
Any news? @brianlagunas @dansiegel |
Beta Was this translation helpful? Give feedback.
-
Hi guys, Modal Page works with following instructions: Packages: Platforms Code:
Thanks @dansiegel @brianlagunas !! Soon upgrade my project -> https://github.com/giuseppenovielli/MAUI_XF-Prism-Full-Navigation-Example |
Beta Was this translation helpful? Give feedback.
-
Hi,
thanks @dansiegel @brianlagunas and all contributors for release Prism.MAUI!!
I have migrate code from Xamarin.Forms to MAUI.
--> https://github.com/giuseppenovielli/MAUI_XF-Prism-Full-Navigation-Example
You can clone this repository and execute maui and xamarin.forms app to show differents.
The code is EQUAL
With new Prism.Maui, some Prism.Xamarin.Forms API are not found!
With Xamarin.Forms if i want to push a modal page, i write
https://github.com/giuseppenovielli/MAUI_XF-Prism-Full-Navigation-Example/blob/master/PrismFullNavigation/xamarin_forms_5/PrismFullNavigation/ViewModels/MainPageViewModel.cs#L61
With MAUI:
useModalNavigation: true
--> is not found!I'm try to reproduce ModalPage but without success!
OR
https://github.com/giuseppenovielli/MAUI_XF-Prism-Full-Navigation-Example/blob/master/PrismFullNavigation/maui_net7/PrismFullNavigation/ViewModels/MainPageViewModel.cs#L61
The MAUI's code push new page, always from current navigation page, this is wrong if i want a ModalPush.
What am I doing wrong?
I want the same ModalPage like Xamarin.Forms.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions