Skip to content

Conflict between v-once and ref #6980

@schoonc

Description

@schoonc

Version

2.5.2

Reproduction link

https://jsfiddle.net/pb32s2p3/6/

Steps to reproduce

Open console (ctrl+shift+i in chrome, for example).

What is expected?

Output in console:

<div></div>
<div></div>

What is actually happening?

Output in console:

<div></div>
undefined

If remove 'v-once' or change vue version to 2.4.4 (in 2.5.1 and 2.5.0 bug remains) problem disappears.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions