-
-
Notifications
You must be signed in to change notification settings - Fork 926
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
mouseout
/mouseleave
event not triggered while transforming
#1810
Comments
In previous versions the cursor resets once the mouse leave the node, which is also not quite right as the cursor should be kept when dragging. I would like to open a PR to fix that. However, I don't know how can I fix it if we can not get when exactly the mouse leave the node. |
I think we can reset the cursor on when transform is finished. The PR is very welcome. If with the test, it is another level of awesomeness. |
Resetting the cursor is not sufficient, as the cursor may still stay on the cursor when the transformation is finished. We need the accurate hover information for a good implementation, which is why I opened the issue. Actually I want to fully transform the cursor setting logic:
With this we can implement a rotator that has |
Maybe, but it sounds like an overkill for me.
I don't see that is a large issue. We can enable hover back in that case. |
In Transformer when we drag the rotator or other anchors the cursor will change. In the previous versions, the cursor will be reset immediately when the mouse leave the anchor. However,
mouseout
andmouseleave
events are now not triggered, so the cursor will not be reset until mouse move. This could be resulted by 73d65cbYou can reproduce the issue at:
https://konvajs.org/docs/select_and_transform/Basic_demo.html
The text was updated successfully, but these errors were encountered: