Scalable and snappable with `keepRatio={true}`
See original GitHub issueEnvironments
- Framework name: react
- Framework version: 17.0.1
- Moveable Component version: react-moveable 0.27.0 and above
- Testable Address(optional): https://codesandbox.io/s/priceless-zhukovsky-g57ns?file=/src/Moveable.jsx
Description
Scaling with snappable causes the moveable to scale uncontrollably when keepRatio={true}
. This happens on the nw
, ne
, sw
, se
, e
, and w
handles but not on the n
and s
. This doesn’t seem to happen on react-moveable@0.26.2
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Snappable with Scalable does not work. · Issue #108 - GitHub
Hello, I have the same problem with keepRatio set to false : https://codesandbox.io/s/moveablescallingbounds-lh6ms No problem on drag, ...
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
@jrga03
react-moveable 0.28.1 is released. Thank you 😃
@daybrush Thanks a lot!