Skip to content

Support of moveBefore function #266

@Rodeoclash

Description

@Rodeoclash

Chrome 133 now supports the moveBefore function which preserves the state of a DOM element when it is moved. I believe Firefox intends to support this at some points too, I'm unaware if Safari is planning to implement.

This would be great to have in MorphDom. For example, it would solve phoenixframework/phoenix_live_view#2889 which was raised in the LiveView repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions