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
how to listen click event when rotate end #490
Comments
moveable's new version is released. |
when i rotate end ,if my mouse position current on moveable internal ,it is work.when the mouse position out of moveable element and on parent node will trigger parent click, my version is 0.28.3 is there any way to avoid click trigger |
just like this https://codesandbox.io/s/rotateend-dpcii |
Test 0.28.4-beta.0 version |
after rotate end , any click event can not be triggered。😭 After the rotation, I still need to listen to the click event of the parent element |
@lvqingxiang Test 0.29.0-beta.1 version. |
Thanks a million. it works ✌️ |
😱 why 0.29.0-beta.1 can not trigger the current moveable target click event, @daybrush |
Use onClick in Moveable <Moveable
onClick={e => {
}}
/> |
Environments
Description
now i listen click event on parent element ,but when child element rotate end, will trigger parent click. how to avoid ?
The text was updated successfully, but these errors were encountered: