-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug: ion nav component #23681
Comments
Thanks for the issue. I am going to close this as a duplicate of #21831. |
i would like to leave my solution here for any one use ionic/vue nav component i return views which is the array of created component vnode as props then i managed to delete it from my component setup() {
} |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Prequisites
Ionic Framework Version
Current Behavior
ion nav component with ionic/vue
when trying to pop to another view all forward views component in the stack didn't unmounted or removed from the dom which cause memory leak.
even using remove function just remove the view and didn't unmount or destroy the component and also didn't remove dom element
Expected Behavior
its should just keep the pervious element in the stack and remove or unmount all the forward.
Steps to Reproduce
1- add nav component and pop to any view
2- check dom elements still there
3- check vnode subtree or vue dev tool still unmounted.
Code Reproduction URL
No response
Ionic Info
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: