hustcc / hustcc/echarts-for-react

Bug: Toolbox titles loose state on redraw

Open
#515 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5k
Forks
650
PR merge metrics
No merged PRs in 30d

Description

The title/label of toolbox items normally shows on hover of the icon and stays visible, until `mouseout` of the icon but when using a "dynamic" chart ([demo](https://git.hust.cc/echarts-for-react/examples/dynamic)) the title state is lost then new data is pushed to the chart. This is not ideal and makes for a poorer UX.

https://user-images.githubusercontent.com/27637/201971785-77ec0319-b64e-45f2-8d26-ec662173f387.mov

It would be better if the state is retained on data redraw.

This is very noticeable when using the "zoom" toolbox functionality as the active state of the icons is also lost.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.