You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/08/24 10:15:06 UTC

[GitHub] [echarts] aShu-guo opened a new issue, #17568: geo设置了selectedMode: 'single',但是鼠标快速点击多个区域,仍会选中多个区域

aShu-guo opened a new issue, #17568:
URL: https://github.com/apache/echarts/issues/17568

   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/s/condescending-antonelli-z1w8yi?file=/src/index.js
   
   ### Steps to Reproduce
   
   鼠标快速单击不同地图区域
   
   ### Current Behavior
   
   geo设置了selectedMode为single,但是鼠标快速点击仍会选中多个区域
   
   但是
   -- 如果把geo中的纹理背景图去掉之后,不会出现上述问题
   -- 把emphasis和select去除其中一个配置,不会出现上述问题
   -- 每次点击间隔时间长些,例如:2秒,不会出现上述问题
   
   ### Expected Behavior
   
   geo配置selectedMode: 'single',只会选中单个区域
   
   ### Environment
   
   ```markdown
   - OS: macOS Monterey
   - Browser: Chrome 104.0.5112.79
   - Framework: Vue@2
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] Ovilia commented on issue #17568: geo设置了selectedMode: 'single',但是鼠标快速点击多个区域,仍会选中多个区域

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #17568:
URL: https://github.com/apache/echarts/issues/17568#issuecomment-1227055528

   可以尝试自己 debug 一下,这能帮助你尽快解决这一问题,[这里](https://github.com/apache/echarts/wiki/How-to-setup-the-dev-environment) 是教程


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #17568: geo设置了selectedMode: 'single',但是鼠标快速点击多个区域,仍会选中多个区域

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17568:
URL: https://github.com/apache/echarts/issues/17568#issuecomment-1225516583

   @aShu-guo 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. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   geo has selectedMode: 'single', but if the mouse quickly clicks on multiple regions, multiple regions will still be selected
   
   **BODY**
   
   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/s/condescending-antonelli-z1w8yi?file=/src/index.js
   
   ### Steps to Reproduce
   
   Quick mouse click on different map areas
   
   ### Current Behavior
   
   Geo sets the selectedMode to single, but a quick mouse click will still select multiple areas
   
   but
   -- If the texture background image in geo is removed, the above problem will not occur
   -- Remove one of the configurations from emphasis and select, and the above problems will not occur
   -- The interval between each click is longer, for example: 2 seconds, the above problems will not occur
   
   ### Expected Behavior
   
   geo configuration selectedMode: 'single', only a single area will be selected
   
   ### Environment
   
   ````markdown
   - OS: macOS Monterey
   - Browser: Chrome 104.0.5112.79
   - Framework: Vue@2
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org