-
-
Notifications
You must be signed in to change notification settings - Fork 659
Snap settings with keepRatio set to false are not honored #990
Copy link
Copy link
Open
Description
Environments
Framework name: StimulusJS
Framework version: 3.2.1
Moveable Component version: 0.51.1
Selecto Component version: 1.26.0
Testable Address(optional): https://codepen.io/davidalejandroaguilar/pen/VwVNxWz
Description
When resizing selected elements with snap settings (snapGridWidth, snapGridHeight, snapThreshold, snapRotationThreshold, snapRotationDegrees) and keepRatio set to false, the elements no longer respect snap settings (50px snapping in the example Codepen).
In the video below, you can see how each individual element can only be resized in 50px increments, however, when both are resized at the same time, they are no longer snapping correctly, and they end up outside the grid.
Screen.Recording.2023-08-07.at.7.21.44.p.m.mov
Reactions are currently unavailable