ref inside v-for on template does not populate as an aray
Vue version
3.3.4
Link to minimal reproduction
Steps to reproduce
- Open reproduction link
- Open DevTools
- Observe console output
What is expected?
"Case 3" in output would see the ref value being an array - in Vue 2 it behaved this way
What is actually happening?
"Case 3" in output sees the ref value being a single element
System Info
No response
Any additional comments?
The bug manifests itself when we have a component that takes an arbitrary number of slots, and the consuming component populates those slots in a loop but needs an array of refs to the slot contents. The most basic case of this is implemented in the reproduction link.