moveable
moveable copied to clipboard
Use moveable in Vue project, bind resize event param to moveable target, the effect is not normal
Environments
- Framework name: Vue
- Framework version:
- Moveable Component version:
- Testable Address(optional):
Description
Hi @daybrush , I find moveable in Vue, resize event param binding to target, resize effect is not normal,jitter and stutter and incorrect position here is my test demo,
https://codesandbox.io/s/red-http-s870w?file=/src/App.vue
Thank you very much for your help
@chenp1204
I'm sorry. Unfortunately. Asynchronous is not yet supported in Moveable. Therefore, you have to specify the style directly.
e.target.style.cssText += `width: ${width}px; height: ${height}px; left: ${left}px; top: ${top}px`;