Skip to content

“destroyOnClose” of the drawer component is invalid #4018

@donley828

Description

@donley828
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.1.3

Environment

mac os 11.2.3, chrome 90, vue 3.0.11

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1.click 'drawer' button.
2.the DOM of the 'drawer' is correct in DevTools.
3.close 'drawer'.
4.the DOM of the 'drawer-content' is still exist but destroyOnClose is true.

What is expected?

removed the DOM of the 'drawer-content'.

What is actually happening?

the DOM of the 'drawer-content' is still exist.

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