Skip to content

Upgrade to 1.0.27 breaks v-ref on a component with v-if #3754

@matfish2

Description

@matfish2

Vue.js version

1.0.27

Reproduction Link

https://jsfiddle.net/matfish2/7m1a799t/

Steps to reproduce

a. Create a component
b. apply v-ref to it
c. apply v-if to it

What is Expected?

v-ref should not break the code

What is actually happening?

It throws an error:

Uncaught TypeError: Cannot read property 'scope' of undefined

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions