-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
b-table memory leak with vue-router and <keep-alive>
#4214
Comments
@sprocket99 There are issues with Vue's
And a similar issue is present with vue-router and keep-alive |
<keep-alive>
Which version of Vue and Vue-router are you using?
I would suggest removing the |
I am using:
I think I am on the latest versions of everything. So the bugs are old and fixed at this point. Also I have no
Also, yes obviously the problem will go away if I take the |
I can discount the
The problem occurs if I expand and collapse this again and again. So the rendering of the table somehow plays into it. Navigation is not needed. |
It probably is to do with |
Describe the bug
I have a b-table like so:
And my code is:
This page remains active using
keep-alive
and is launched using:<b-button @click="$router.push({name: 'node-detail', params: { id: row.item.id }})"></b-button>
Steps to reproduce the bug
Expected behavior
For this to only happen once. I commented out just the HTML for
b-table
and the issue did not occur, but then I had no table either.Versions
Libraries:
Environment:
Here is a .gif of me navigating back and forward on the browser:
The text was updated successfully, but these errors were encountered: