Closed mdominiak2 closed 2 years ago
I think I solved the problem by adding a container with a specific css style.
But still there are some imperfections when I change transform-origin
to center
https://codesandbox.io/s/magical-mirzakhani-b17ts7?file=/index.html
If I avoid using display: flex
and transform-origin: center
everything is ok. But when I want to center the drag area, I get the same bug again.
https://codesandbox.io/s/gifted-matsumoto-7zhe67?file=/src/styles.css
@mdominiak2
lit-moveable
0.9.0moveable
0.32.0preact-moveable
0.34.0react-compat-moveable
0.20.0react-moveable
0.35.0svelte-moveable
0.24.0vue-moveable
2.0.0-beta.26vue3-moveable
0.7.0ngx-moveable
0.29.0moveable's new version is released. Check it again.
It may not be perfect, but it has improved the accuracy a lot.
Thanks. Great job.
Environments
Description
Moveable allows to move an element out of the container. The problem also occurs without
transform: scale
. Any advice?