Pushing a non-modal page onto a modal page
Hey,
When I push a page model with modal=true and afterwards try to push a page model with modal=false on top of that, nothing happens.
Is this by design? Is this a bug? Is there a workaround?
Thanks! Nathan
it looks like modal=true page is always on top. did you find a solution for this?
This is a standard behaviour of Xamarin.Forms. You need to push another Navigation container if you want it push in modal.
On Sun, 18 Mar 2018 at 5:46 am, Emil Alipiev [email protected] wrote:
it looks like modal=true page is always on top. did you find a solution for this?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rid00z/FreshMvvm/issues/196#issuecomment-373943425, or mute the thread https://github.com/notifications/unsubscribe-auth/ABeXvRUavnQ6A1PkAQlEhEegbw7ArQbBks5tfVofgaJpZM4QqJS7 .
--
[image: XAM-Consulting Pty Ltd] http://www.xam-consulting.com/
[image: Twitter] https://twitter.com/XAMConsulting [image: LinkedIn] https://www.linkedin.com/company-beta/5791295/
Michael Ridland / Director / Xamarin & Microsoft MVP [email protected] / 0404 865 350
XAM Consulting Pty. Limited. Web | Cloud | Apps | Xamarin 210/29 Kiora Rd, Miranda NSW 2228 xam-consulting.com http://www.xam-consulting.com/
@rid00z do you mean like Loginpage to MainPage sample. like this one or is there a simpler way?
var loginPage = FreshMvvm.FreshPageModelResolver.ResolvePageModel<LoginViewModel>();
var loginContainer = new FreshNavigationContainer(loginPage, NavigationContainerNames.AuthenticationContainer);
var myPitchListViewContainer = new FreshTabbedNavigationContainer(NavigationContainerNames.MainContainer);
MainPage = loginContainer;