Skip to content

能否只作为一个容器,自动根据内容动态计算自己的尺寸? #419

@tzraeq

Description

@tzraeq

Is there any way to make the component just be a container and wrap the child content height and width? The code below works ,but not perfect, the panel can not be dragged to the bottom, because it computes it self as height 200px.

<vue-draggable-resizable :parent="true" :resizable="false" style="width: auto; height: auto;">
    <slot></slot>
</vue-draggable-resizable>

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