-
-
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
Individual transform properties #969
Comments
moveable's new version iis released. Rendering will work. However, support for the value of individual transform is planned in the future. |
Thanks for the quick response. This seems to cover our use case. We'll try it out within a few days and let you know. |
I gave the updates a try. I wonder if there are some issues with matrix calculations in the internal getMatrixStackInfo() function when applying the new style rotate prop in isolation. If I apply the classic transform prop (e.g. transform: translate(0,0)) at the same time things work fine. What I see in the error case is that the Moveable rectangle + handles do not render. I got a feeling it is related to 2d vs 3d matrix handling in mentioned function but I might be wrong. |
moveable's new version is released. Check it again. If not, can you tell me the address where I can test it? |
Yes, with 0.54.1 the Moveable rectangle renders as expected when individual rotate is used - thanks. |
The browser rounds up and renders in units of So you have to use |
Is it possible to make Moveable work with individual transform properties, such as https://developer.mozilla.org/en-US/docs/Web/CSS/rotate? If the target element has rotations applied using the "rotate" CSS property instead of the "transform" CSS property, Moveable doesn't seem to render the control box with the correct initial rotation. Thanks!
The text was updated successfully, but these errors were encountered: