Skip to content

[Bug] Revert to left/top instead of transform to improve the tooltip behavior in Firefox & IE. #16254

@plainheart

Description

@plainheart

Version

5.2.2

Link to Minimal Reproduction

https://echarts.apache.org/examples/view.html?c=area-stack-gradient

Steps to Reproduce

  1. Open the above reproduction example link with Firefox or IE
  2. Watch if the tooltip shakes

Current Behavior

The tooltip shakes in Firefox & IE.

Expected Behavior

As the same as Chromium, the tooltip shouldn't shake in Firefox and IE as well.

Environment

- OS: Any
- Browser: Latest Firefox / IE 11

Any additional comments?

The real reason for the shake issue is that the position of the tooltip will be updated in a very short time. We've solved it in #15683 via adding a throttle of 50ms. Thus it's not necessary to use transform to improve performance anymore. And, to make it work smoothly in all common browsers, I'm thinking it's better to revert to left/top.

Metadata

Metadata

Assignees

Labels

bugenThis issue is in EnglishstaleInactive for a long time. Will be closed in 7 days.topic: tooltip

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions