daybrush / moveable

Moveable! Draggable! Resizable! Scalable! Rotatable! Warpable! Pinchable! Groupable! Snappable!
https://daybrush.com/moveable/
MIT License
10.08k stars 618 forks source link

Snappable bug when group is rotated #786

Closed rasfront closed 1 year ago

rasfront commented 1 year ago

Environments

@daybrush when we select several elements and move it the snappable work with offset. There is on video.

https://user-images.githubusercontent.com/34380690/200181840-8aca7b40-bfbd-4dd6-b93c-780548c5d67f.mp4

daybrush commented 1 year ago

@Raserad

Can I get a demo? It is not reproduced in my development environment.

rasfront commented 1 year ago

@daybrush do you test with several selected with rotation as in video? I'll try to make demo for you with such bug.

rasfront commented 1 year ago

@daybrush this is demo: https://codesandbox.io/s/brave-bird-52jc1i This is demo. Try to drag elements without rotation and after rotate

daybrush commented 1 year ago

@Raserad

Thank you. I'll fix bug and release this sunday.

daybrush commented 1 year ago

@Raserad

moveable's new version is released. Check it again.