-
-
Notifications
You must be signed in to change notification settings - Fork 246
Closed as not planned
Labels
Description
Version
2.4.0
Reproduction link
https://play.nativescript.org/?template=play-vue&id=iep8E5&v=3
Platform and OS info
Android 7.1 / TNS Android 6.0.0 / Windows 10
Steps to reproduce
Preview the app on the phone, try each one of the 3 buttons and wait for the 'mounted' hook to be triggered
What is expected?
See a dialog OR see a modal OR navigate to the requested view
What is actually happening?
the modal / new view is being mounted but not rendered
I can't replicate it on the playground (nor run locally), but in the project I'm working on, the issue is still happening.
In the playground the only issue that is still present is the one with the modal (first, blue button).
I also found a workaround, using a timeout seems to make it work, but only if the timeout value is 1 second or near to:
setTimeout(() => {
this.$showModal(MyModalView);
}, 1000);