Resize and rotate with the same control
See original GitHub issueOn the video below, I’ve created the component which renders div based line (style={{width: '100%', height: 2, background: '#000'}}
). As you can see on video it behaves ~ ok when we do size bigger (though, I’d expect that the head will move absolutely the same as cursor), but it goes crazy once line is minified a lot. You may also notice slight twitching in the video, especially when it snaps to snappable point (it’s expected that head will snap, though the tail point should remain on the same position).
https://user-images.githubusercontent.com/2823336/107390914-16ac0680-6af0-11eb-916d-f2a08876a7aa.mov
_Originally posted by @zaqqaz in https://github.com/daybrush/moveable/issues/381#issuecomment-776049029_
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
[feature request] Resize and rotate with the same control #381
on the video below, I've created the component which renders div based line ( style={{width: '100%', height: 2, background: '#000'}} ). As you ......
Read more >Select, resize, and rotate objects in Adobe XD.
Learn how to select, resize, and rotate objects in Adobe XD. ... Drag these handles to resize the object or the object group....
Read more >HOW TO RE-FRAME, RESIZE, MOVE, ROTATE & FLIP VIDEO ...
In this video, we'll take an in-depth look at the Transform tool built into Final Cut Pro. This is a great tool to...
Read more >Select, move, resize, and rotate shapes - Microsoft Support
To rotate the shape clockwise, on the Home tab, in the Arrange group, click Position, point to Rotate Shapes, and select Rotate Right...
Read more >Resize, move, and rotate clips in Final Cut Pro - Apple Support
Control -click in the viewer and choose Transform. The Transform onscreen controls appear in the viewer. Adjust the Transform effect using the onscreen...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@zaqqaz
origin will always default to transform-origin.
But you can set any origin directly via setFixedDirection.
https://d4cz81.csb.app/
@frankvdb7 @zaqqaz
lit-moveable
0.10.0moveable
0.33.0preact-moveable
0.35.0react-compat-moveable
0.21.0react-moveable
0.36.0svelte-moveable
0.25.0vue-moveable
2.0.0-beta.27vue3-moveable
0.8.0ngx-moveable
0.30.0moveables’ new version is released.
https://daybrush.com/moveable/storybook2/?path=/story/advanced-rotatable--rotate-with-resize
Use
resolveAblesWithRotatable
prop