Skip to content

v-for over reactive([]) regression #7973

Closed
@skirtles-code

Description

@skirtles-code

Vue version

Latest main branch
The latest release, 3.3.0-alpha.5, doesn't have this problem
I believe this was introduced by #5752.

Link to minimal reproduction

https://sfc.vuejs.org/#eNp9kM9OwzAMxl/FymWdtDbiWnUITjwE4dB1bpexJpGTlEPVd8dpNrSBxM1/Pv9sf7N4da6aIopaNL4j7QJ4DNE9K6NHZynADIRtF/SEsEBPdoQN6zfKKNNZ41kf0HnY/8iK949t6vbRcG4NDLbYwqwMZGnloj8VT6xZlGlk3sr7OAk4uksbkDOA5qinNeDw1oCp7C3tlUgk0CYTlbjqAOZ5LcHC7HVSPjC5cIgh8FEv3UV3n0wa7N34m72NZVk+ROZLHlhiJ7JB5di66uytYQvXJ9W1wWfV+e1UY89SrsQpBOdrKX3fJePPvrI0SI4qiiboESv0Y3kg++WRGKzE7o4huTghlYTmiIT0H/OX9A83YdmmRSzfE52xBg==

Steps to reproduce

Click the button.

What is expected?

No error.

What is actually happening?

Error.

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'el')

System Info

No response

Any additional comments?

It seems to be related to the use of reactive(). If I switch the example to use ref() everything works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions