Resizing issue
https://codepen.io/stressunfit/pen/NWoROgx?editors=1111
I am not able to figure out why resizing isnt working properly when i try to resize with any handle expect bottom right handle. Bottom right handle works fine. Any kind of help we be greatly appreciated. Thank you...
1 Reply
With a quick look you're only changing the width and height. There are also issues where if you drag top right down it does nothing and then moving up it gets taller, which is the correct movement I'd expect but this seems to be based on
prevY
.
I'd track the initial position when you start to resize and then use that as the fixed point rather than being from position to position.