-
Notifications
You must be signed in to change notification settings - Fork 19.6k
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
[Bug] onDrag, not in sync with data on line plot. #17191
Comments
It still is not working, I only want to move the points in one direction, so modifying your demo to only allow this, it still has the problem of dragging out of the point axis. I changed the "onPointDragging" function:
This makes it not possible to drag in y-axis, and my problem is still present. BoilingCheerfulApatosaur-mobile.mp4 |
why cannot i drag this points in your demo in chrome? |
Not sure why my demo do not work anymore. Here is the code from echarts that show the problem: Try this |
@wigsnes Set |
Version
5.3.2
Link to Minimal Reproduction
https://codesandbox.io/s/echarts-react-draggable-0szzfl?file=/src/echartTest.tsx
Steps to Reproduce
Current Behavior
You drag a point off-axis on the X-axis it does not line up next time you want to drag, and you have to remember where you let go.
Expected Behavior
Expect it to stick to the point, and be draggable on the point and not where you left it.
Environment
Any additional comments?
EnviousComplexAfghanhound-mobile.mp4
The text was updated successfully, but these errors were encountered: