-
-
Notifications
You must be signed in to change notification settings - Fork 653
Closed
Labels
Milestone
Description
Hi,
I encountered this bug. It does not reproduce always but does happen frequently.
Steps to reproduce:
- Rotate element to -90 degrees.
- Centre snap with vertical / element guideline.
- Try to resize from bottom-most edge handle.
This gives a huge width value on resize event. I am also adding my resizeStart code.
elementResizeStart = (moveable: any, frame: any, setOrigin: any, dragStart: any, inputEvent: any) => {
// Set origin if transform-orgin use %.
setOrigin(['%', '%']);
if (dragStart) {
dragStart.set(frame.translate);
}
}

