Skip to content

v-for on a template which has a comment: throws an error when trying to shuffle the array #2080

@amrnn90

Description

@amrnn90

Version

3.0.0-rc.10

Reproduction link

https://codesandbox.io/s/youthful-sky-is4hc?file=/src/App.vue

Steps to reproduce

  1. Open reproduction link
  2. click on shuffle

What is expected?

Items should be rendered correctly after shuffling the array

What is actually happening?

Getting the following error:

Uncaught (in promise) TypeError: Failed to execute 'insertBefore' on 'Node': parameter 1 is not of type 'Node'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions