-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
Incorrect transform calculation when setFixedDirection
set to [0, 0]
#624
Comments
moveable's new version is released. try it again. |
Hey @daybrush! Thanks for the new release. One small issue though. Seems like the corner handle, still doesn't follow the mouse cursor. Here: 4f1848d3-c876-4316-821d-8bb13474c0c2.mp4From what I can tell, and logically speaking, the handle should also follow the mouse cursor as like the non-setFixedDirection version of it. Like this: |
moveable's new version is released. Try it again. |
Hey @daybrush it is still the same |
moveable's new version is released. Check it again. |
Hey @daybrush, it works as expected and perfectly ✨ Kudos to you! |
Hey @daybrush Screen.Recording.2022-04-27.at.13-Low-64k.movhttps://codesandbox.io/s/moveable-resize-fixed-direction-issue-0-29-4-q3hyri |
Test 0.29.8 version. It works, but there is another minor problem. I'll check. |
0.29.9 is released. Check it again. |
Hi @daybrush, seems like the last issue still persist Kapture.2022-06-08.at.22.21.57.mp4 |
Set target's style position: absolute;
top: 0;
left: 0; |
It's working quite nice 🙏🏻 Thank you, @daybrush https://codesandbox.io/s/moveable-resize-fixed-direction-issue-0-33-0-success-wsh1d8 |
Environments
Description
When I use
setFixedDirection([0, 0])
mouse position is not calculated correctly or as it should.I have recorded my screen and tried to show how to reproduce this issue and how I expect it to work: https://www.loom.com/share/2d92fa6230774874a64bf441dbb30bde
The text was updated successfully, but these errors were encountered: