Skip to content
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

Navigation clearHistory: true don't destroy all components in the history with inner frames. Instead, only destroys the last one the navigation was called from. #1030

Open
kkhaliloff opened this issue Feb 14, 2023 · 0 comments
Labels
V2 Issues related to V2

Comments

@kkhaliloff
Copy link

kkhaliloff commented Feb 14, 2023

"nativescript-vue": "~2.9.0",
This happens in case:

<Page>
  <Frame id="main">
    <slot></slot>
  </Frame>
</Page>

if I navigate to the page by specifying the frame: main and from it navigate to another one by specifying clearHistory: true

in slot component beforeDestroy method won't trigger

@kkhaliloff kkhaliloff changed the title Navigation clearHistory: true don't destroy all components in the history. Instead, only destroys the last one the navigation was called from. Navigation clearHistory: true don't destroy all components in the history with inner frames. Instead, only destroys the last one the navigation was called from. Feb 14, 2023
@rigor789 rigor789 added the V2 Issues related to V2 label Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V2 Issues related to V2
Development

No branches or pull requests

2 participants