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
Interaction becomes impossible when height is 0 AND no other interactions have been taken #3
Comments
@HopefulLlama Maybe that's because the size is 0 and the ratio is gone. I'm currently fixing the problem. |
The interaction was done with the north control, and I resized straight down to 0 height, and not exceeding the height to invert it. |
Thank you. I know what the problem is. I will reply a comment if I am fixed. |
@HopefulLlama |
It works, and looks great! I'll close this issue now. Great work and keep it up. |
For me it's still not working, even in newer versions. The x and y scale get set to NaN for some reason when the width of height is 0. If you move fast, nothing happens, but when you move slowly and hit 0 on either of them, one or both jump to NaN and the component resizes itself to the default size. After that you can't scale or rotate the component anymore. Screenshot of the 'tooltip' (or how it's called) says NaN. My cursor was at the red dot. |
@ThomasLipman Thank you for reporting bug. react-moveable 0.13.10 is released. |
On the demo page:
Additionally, this only happens IF that's all you do. Interacting with it in any other way, such as moving, resizing or rotating, prevents this bug from occurring.
The text was updated successfully, but these errors were encountered: