Skip to content

Computed prop sometimes not updating in nested component #3404

Closed
@plehnen

Description

Version

3.0.7

Reproduction link

https://codesandbox.io/s/reactivity-issue-demo-jbbme?file=/src/App.vue

Steps to reproduce

Please have a look at the minimal reproduction demo

What is expected?

All three (identical) components should behave identical

What is actually happening?

The second one doesn't update correctly


As requested I minimized the reproduction even more. The old link with more context still exists here: https://codesandbox.io/s/reactivity-issue-demo-h6mmz?file=/src/App.vue

(This more detailed demo is additionally emitting the selected tab, and this will cause the second - incorrectly rendered - component to update to a correct state as soon as the buttons inside the component are clicked)

Metadata

Assignees

No one assigned

    Labels

    ❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions