-
-
Notifications
You must be signed in to change notification settings - Fork 637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The problem with straight lines - horizontal and vertical lines #801
Comments
Can you provide a code sandbox demo of the 4 examples? |
moveable's new version is released. Check it again. |
Hi Younkue, Before scaling a group of lines. The red ones are stright. The green ones aren't stright.After scaling a group of lines. The red ones are stright. The green ones aren't stright.After rotating a group of lines. The ones rotated 90 degrees to the right. The red ones are stright. The green ones aren't stright. |
Can you give me a demo with codesandbox? |
Hi Younkue,
I really appreciate your great work. I love Moveable. I'm testing the latest version of Selecto and Moveable. Everything works fine but the only reason why I can't use Selecto with Moveable is because of the problem with straight lines. I mean horizontal and vertical lines.
If the line is not straight then there's no problem, but if the line is straight then I can't move it.
Draggable only works if I move at least two straight lines. Moreover if I want to scale or rotate straight line it doesn't work anymore. All other svg objects such as circle, rectangle, text etc. or foreignObject work fine.
This problem occurs in all popular browsers: Chrome, Edge, Opera, Safari and Firefox.
Examples below:
After selecting or clicking stright lines rotation position is "bottom" and it should be "top".
Before scaling a group of lines. The red ones are stright. The green ones aren't stright.
After scaling a group of lines. The red ones are stright. The green ones aren't stright.
After rotating a group of lines. The red ones are stright. The green ones aren't stright.
The text was updated successfully, but these errors were encountered: