echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] series-map.selectedMode设置为single后,如果快速点击两个地区会同时选中该两个地区

Open maijie opened this issue 3 years ago • 2 comments

Version

5.22

Link to Minimal Reproduction

No response

Steps to Reproduce

  1. series-map.selectedMode设置为single
  2. 快速点击多个地区,有几率会同时选中两个甚至多个地区
  3. 双击某个地区,有几率会选中该地区后无法取消

Current Behavior

目前项目需求为点击地图某一区域后选中该地区,但是经测试发现以上两个问题

Expected Behavior

期望能够设置单选后,快速点击能够只选中一个地区,双击后也能够取消选中

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

maijie avatar Aug 23 '22 08:08 maijie

@maijie It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED

TITLE

[Bug] After series-map.selectedMode is set to single, if you quickly click on two areas, the two areas will be selected at the same time

BODY

Version

5.22

Link to Minimal Reproduction

No response

Steps to Reproduce

  1. series-map.selectedMode is set to single
  2. Quickly click on multiple regions, there is a chance that two or more regions will be selected at the same time
  3. Double-click an area, there is a chance that the area cannot be canceled after it is selected

Current Behavior

The current project requirement is to click on a certain area of ​​the map and select the area, but the above two problems were found after testing

Expected Behavior

After I expect to be able to set a single selection, a quick click can select only one area, and a double-click can also cancel the selection

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

echarts-bot[bot] avatar Aug 23 '22 08:08 echarts-bot[bot]

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] avatar Aug 22 '24 21:08 github-actions[bot]

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

github-actions[bot] avatar Aug 30 '24 21:08 github-actions[bot]