Skip to content

<Portal> doesn't inherit class and style #65

@xymopen

Description

@xymopen

We are using <Portal> to transfer some nodes to some location, with parent being display: flex. When more than one node is transferred, the wrapper <div> would prevent flexbox related CSS rules from working.
Currently we are using a random tag as custom element and display: contents as a workaround. However in some cases Vue would complain that as an unregistered component.
Making <Portal> inherits staticClass, class, staticStyle and style looks like a perfect fix from our point of view.

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