Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tzraeq opened this issue Sep 16, 2024 · 0 comments

Comments

@tzraeq
Copy link

tzraeq commented Sep 16, 2024

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>
@tzraeq tzraeq closed this as completed Sep 16, 2024
@tzraeq tzraeq reopened this Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant