echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] click markline will cause the first column to be selected

Open Justin-ZS opened this issue 1 year ago • 1 comments

Version

5.5.1

Link to Minimal Reproduction

Reproduction

Steps to Reproduce

click the markline, you can see the first column is selected.

Current Behavior

click the markline, you can see the first column is selected.

Expected Behavior

click the markline, no columns are selected

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

截屏2024-12-20 14 07 50 It looks like the logic want to dispatch an action to select the markline. But the created action config is exactly the same as the action to select the first item since the key property dataModel is not passed in

Justin-ZS avatar Dec 20 '24 05:12 Justin-ZS

yes, it seems markLine click does not behave properly with select enabled. Workaround is to preprocess data and add extra markLines - Demo.

helgasoft avatar Dec 20 '24 07:12 helgasoft