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

active状态问题 #101

Open
vedbobo opened this issue Sep 26, 2023 · 1 comment
Open

active状态问题 #101

vedbobo opened this issue Sep 26, 2023 · 1 comment

Comments

@vedbobo
Copy link

vedbobo commented Sep 26, 2023

只有用了draggable,在外部点击后再点击组件可以激活active。如果不用draggable只用resizable,不能再次激活active状态,不能再进行缩放操作了!

@djin-lucas
Copy link

djin-lucas commented Nov 28, 2023

@vedbobo Hi, I found something that might help.
With draggable false, you can define a ref for your component and call setEnable with the true parameter, it is possible to have draggable false but resizable true.

<Vue3DraggableResizable ref="someRef" :draggable="false">

someRef.value?.setEnable(true);

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

2 participants