Skip to content

Destroy method replaces original elements #737

@michaljerabek

Description

@michaljerabek

Hi,

since this PR, the destroy method replaces the original elements with clones. I would say that this is highly unexpected behavior and causes more issues then it solves. In my case, I need to switch between an inline component and a modal on resize, but it's pretty difficult to do, because those elements keep changing. In my opinion, this behavior shouldn't be there at all, but it would be nice if it could be at least optional.

Thanks for consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions