You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/04/28 09:52:19 UTC

[GitHub] [incubator-echarts] kazehaiya opened a new issue #10376: dataZoom 阻塞滚动条

kazehaiya opened a new issue #10376: dataZoom 阻塞滚动条
URL: https://github.com/apache/incubator-echarts/issues/10376
 
 
   ### Version
   4.2.1
   
   ### Reproduction link
   [https://echarts.baidu.com/examples/editor.html?c=area-rainfall](https://echarts.baidu.com/examples/editor.html?c=area-rainfall)
   
   ### Steps to reproduce
   将原有的 dataZoom 的 inside 部分添加如下内容:
   
   zoomOnMouseWheel: 'ctrl'
   
   ### What is expected?
   当鼠标移入图内(能够呈现出 tooltip 样式时),仅仅在按 ctrl 键时阻塞原有的滚轮事件
   
   ### What is actually happening?
   在不按 ctrl 时也阻塞了原有滚动事件(页面不会出现上下拉动的效果)
   
   ---
   去掉 dataZoom 属性,鼠标移入图内,上下滑动滚轮可以看到拉去效果(页面会往下拉沉)。
   
   业务场景:看板页面,此会造成页面滚动被阻塞,影响体验
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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