Skip to content
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

Transformer anchor hover issue #1878

Open
EskelCz opened this issue Jan 17, 2025 · 2 comments
Open

Transformer anchor hover issue #1878

EskelCz opened this issue Jan 17, 2025 · 2 comments

Comments

@EskelCz
Copy link

EskelCz commented Jan 17, 2025

Imagine you are shrinking a shape with a locked aspect ratio. That means your pointer while "down" can hover over another anchor. That ends up triggering the other anchor as well, leading to a chaos of different transformations applied at the same time.

I think the anchor needs to have a protection to only allow one anchor at a time, or maybe one per touch.

Screen.Recording.2025-01-17.at.21.22.21.mov
@EskelCz
Copy link
Author

EskelCz commented Jan 17, 2025

It can be seen in this official demo as well: https://konvajs.org/docs/select_and_transform/Centered_Scaling.html
Try the first shape, to drag the bottom anchor up until you hover the middle anchor. The shape flips.

@EskelCz
Copy link
Author

EskelCz commented Jan 18, 2025

It happens even when the anchor is not there, not enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant