You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sort of a make-or-break feature. Trying to implement this as a workaround since there's no way I could figure out to send context with the routerExtensions.back() method - so now instead of routing to another page, I'm 'disguising' the page as a full-screen modal. Thing is my full-screen modal requires a couple of other modals inside it, depending on user input.
This should technically be possible as the datePicker & timePicker dialogs are opening fine even when launched inside a modal. But I'm unable to launch a custom child modal inside a custom parent modal!
Make sure to check the existing issues in this repository
Checked.
If there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
I'm trying to open a 'fullScreen: false' modal inside a 'fullScreen: true' modal (which 'mimics' a page in my app). On trying to launch the child modal, I get this error:
HI @suparnavg,
Thank you for the attached sample project.
I checked the example, however, it seems that you are using the old technique for opening the module page.
To enable the navigation inside a module, you should define a second page-router-outlet, which should be used for the navigation in the module. You can check the documentation and the demo.
Thanks @tsonevn, implemented this, works like a charm. I don't suppose showing a fullScreen: false modal is possible using this approach?
For future readers, to solve the last bit of this puzzle (passing context to the modals and getting a response object back), I used a service to hold the updated version of the object and used a navigation router event check to update my views with the latest object.
Sort of a make-or-break feature. Trying to implement this as a workaround since there's no way I could figure out to send context with the routerExtensions.back() method - so now instead of routing to another page, I'm 'disguising' the page as a full-screen modal. Thing is my full-screen modal requires a couple of other modals inside it, depending on user input.
This should technically be possible as the datePicker & timePicker dialogs are opening fine even when launched inside a modal. But I'm unable to launch a custom child modal inside a custom parent modal!
Make sure to check the existing issues in this repository
Checked.
If there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
I'm trying to open a 'fullScreen: false' modal inside a 'fullScreen: true' modal (which 'mimics' a page in my app). On trying to launch the child modal, I get this error:
Which platform(s) does your issue occur on?
Android device, Mi Redmi Note 4. Not tested on iOS.
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as
Create a modal in any page of the app. Launch this modal. Then try to launch a child modal from within the parent modal.
Is there any code involved?
Yes. Playground project attached
NSPlayground (1).zip
The text was updated successfully, but these errors were encountered: