| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| view = currentPage.modal; | ||
|
|
||
| if (view.ios instanceof UIViewController) { | ||
| viewController = currentPage.modal.ios; |
There was a problem hiding this comment.
Shouldn't this be viewController = view.ios?
Sorry, something went wrong.
#5881) * fix(ios-dialogs): unable to show dialog from modal view * tests(modal-navigation): add test that opens dialog inside modal view
|
Can you please describe how to fix it? I have a <Page> in my modal and dialogs.action() for example doesn't work on iOS. |
Sorry, something went wrong.
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fix #5879
The original problem occurred in an Angular app (Plugins team teamplate), that displays some dialogs inside modal view, bacause we are no longer wrapping modal view inside a Page in nativescript-angular@next.
This could also happen in a non Angular application (modal view without <Page>)
The solution is to search up in the hierarchy for a parent with UIViewController on which we should present the dialog.
Added test in modal-navigation app that opens dialog from modal view (with and without wrapping modal view content in Page)