-
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
Tooltip position throttle makes tooltip feel laggy #16101
Comments
Hi! We've received your issue and please be patient to get responded. 🎉 In the meanwhile, please make sure that it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so. A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster. You may also check out the API and chart option to get the answer. If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question. If you are interested in the project, you may also subscribe to our mailing list. Have a nice day! 🍵 |
Opened PR #16212 to disable throttle when |
@plainheart PR looks great! |
fix(tooltip): fix tooltip lag issue when transition is disabled. (#16101)
Version
5.2.2
Steps to reproduce
With
transitionDuration: 0
and a tooltip position that follows the cursor. In #15683 a throttle was added of 50ms to the position function.I had initially thought it was the new method of positioning the tooltip with transform but it does seem to be the throttle in this case. related #16091
What is expected?
The tooltip should follow the mouse cursor as close as possible.
What is actually happening?
50ms throttle that did not exist in v4.
It does seem like the tooltip lags when dev tools is open and the throttle is gone.
The text was updated successfully, but these errors were encountered: