Skip to content

v-ref does not update correctly when keep-alive is set on a dynamic v-component #636

Closed
@agonbina

Description

@agonbina

In a dynamic v-component directive when keep-alive is set, v-ref does not update to point to the currently active view model instance. It works fine when keep-alive is not set.

Here is a fiddle which demonstrates this issue: http://jsfiddle.net/4ymxLotf/1/ Open up the console to see the output of switching the components

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