Bug caused by scaling when aspectratio is true

This issue has been tracked since 2022-08-29.

Set aspectratio to true, dynamically bind X and y, and update X and Y in the resizestop event. When x and y are equal, it is normal. When x and y are not equal, the resizestop event will always be triggered

SwanValues wrote this answer on 2022-09-05

动态绑定x、y、w、h都会存在你所说的问题,我的建议是使用变量将x、y、w、h存起来,组件不再使用动态绑定,事件也能正确触发,x、y、w、h也可以实时更新。

More Details About Repo
Owner Name kirillmurashov
Repo Name vue-drag-resize
Full Name kirillmurashov/vue-drag-resize
Language JavaScript
Created Date 2018-04-26
Updated Date 2022-11-25
Star Count 1764
Watcher Count 24
Fork Count 291
Issue Count 89

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date