Skip to content

[2.0] Transition fails to show with components using render functions #3474

@mtpc

Description

@mtpc

Vue.js version

v2.0.0-rc.2

Reproduction Link

https://jsfiddle.net/wy1frr50/3/

Steps to reproduce

Push the button until it cycles back into "First", then push it again

What is Expected?

A fade transition to "Second"

What is actually happening?

Uncaught TypeError: Cannot read property '_pending' of null
After investigation, it sounds like the element being transitioned out is (logically) removed from the dom, but the old reference is still kept. When vue tries to recycle it for rerendering, the reference lacks a parentNode property, leading to this error.

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