/ core Public
When KeepAlive caches more items than its
max prop allows, reactivated components may be erroneously marked as being unmounted
Something isn't working
Link to minimal reproduction
Steps to reproduce
Follow directions on reproduction site.
Click on "Create new page". Then click on the button in the blue box. Notice that it responds by showing "Clicked".
Do this 4 more times so that there are 5 pages (make sure you do the final click).
Now click on "Render page 4". Notice the click event does not get emitted all the way to the onClicked handler in Page.vue.
Click on "Render page 3" and the button works again.
What is expected?
emit should work
What is actually happening?
emit does not work
Any additional comments?
This was broken by this commit #5679. If I remove the 2 lines added
then it works once again.
The text was updated successfully, but these errors were encountered: