Skip to content

$destroy() a slot component , the component will not be removed from DOM #5256

@icarusion

Description

@icarusion

Version

2.2.4

Reproduction link

http://jsbin.com/canofepuyi/edit?html,console

Steps to reproduce

two compoennts: comB and comA, comA as a slot into comB, when use $destroy() in comB to destroy comA, the instance is removed, but dom not.

** in Vue1, it worked. **

What is expected?

dom removed too

What is actually happening?

dom not removed

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