Skip to content
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

Breaking behaviour in minor update with $refs in a v-for loop #5561

Closed
georgwindhaber opened this issue Mar 10, 2022 · 1 comment
Closed

Comments

@georgwindhaber
Copy link

Version

3.2.25

Reproduction link

sfc.vuejs.org/

Steps to reproduce

Loop refs in a v-for loop and access them.

Version v3.2.24 and earlier directly return the referenced object, v3.2.25 and later return an array containing the element(s)

What is expected?

That refs directly return a referenced object

What is actually happening?

The refs return an array containing the referenced element(s)


I ran into this when someone made a minor update to Vue.

I see the the behaviour of v3.2.25 as correct/better but a breaking change should not be in a minor version update

@ygj6
Copy link
Member

ygj6 commented Mar 10, 2022

Duplicate of #5525

@ygj6 ygj6 marked this as a duplicate of #5525 Mar 10, 2022
@ygj6 ygj6 closed this as completed Mar 10, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants