Unrelated data affects style display binding with v-show
Vue version
3.4.8
Link to minimal reproduction
Steps to reproduce
- Do not check the "visible" checkbox.
- Click to change the "unrelated reactive data changes" checkbox (either checking or unchecking is fine).
What is expected?
After clicking on the "unrelated reactive data change" checkbox, the inline-block div should not be displayed. The style should not be affected by unrelated reactive data, maintaining consistent behavior.
What is actually happening?
After clicking on the "unrelated reactive data change" checkbox, the inline-block div is displayed.
System Info
Browsers:
Chrome: 120.0.6099.201
Any additional comments?
Related issue: https://github.com/vuejs/core/issues/4768