New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$navigateTo nested Frame does show nothing #366
Comments
I can't see buttons in the linked playground, can you check if you linked the correct one? As a side note, I'm not sure if nested frames are supported in NativeScript, can't find much info on that... |
Sorry, I updated now my link in the original post. |
Now I get it work by wrapping my content in a |
Back navigation doesn't actually trigger any Vue lifecycle events, as the instance in the backstack is not destroyed. Instances in the backstack are only destroyed when using Can you share what you need the lifecycle events for? Can you use I'm not sure if we have these documented, but you can see when they are emitted here: nativescript-vue/platform/nativescript/runtime/components/frame.js Lines 109 to 116 in cfbf83d
|
Your code it's ok but you must add the page tag on your pages Content1 and Content2
|
the |
May I ask why you need navigation within the same component (that is if I understood the problem correctly)? You were saying you use this as a workaround, maybe vuex would be of a value for you here? |
Version
2.0.2
Reproduction link
Playground
Platform and OS info
Android
Steps to reproduce
click at one of theses buttons in playground
What is expected?
that above opens one of the contents
1 -> Hello world text content
2 -> Image
What is actually happening?
Components get rendered (watch console),
but nothing gets shown
looking the elements on chrome in debug mode, there is only a
Frame
text:The text was updated successfully, but these errors were encountered: