lcoder edited a comment on issue #6743: 图例legend翻页BUG
URL: 
https://github.com/apache/incubator-echarts/issues/6743#issuecomment-421989709
 
 
   对源码做了几处修改:
   
![image](https://user-images.githubusercontent.com/5225853/45622114-7899ea80-bab5-11e8-9aef-519bc9682650.png)
   
![image](https://user-images.githubusercontent.com/5225853/45622062-57d19500-bab5-11e8-9fc0-b0b776e493e3.png)
   
![image](https://user-images.githubusercontent.com/5225853/45622083-661fb100-bab5-11e8-839c-b5a928480d44.png)
   
发现有bug的都有一个共性,就是`contentGroup`中符合`itemRect.intersect(winRect)`就一个成员,所以针对`arr===1`的做了特殊处理,暂时解决了我的问题,但是有个不好的就是边界情况,变灰,某些情况下失效,不过比起不可点击,可用性改善了许多。
   >  
另外,一般不推荐改源码,特别是npm或者yarn管理的项目,每次操作add,install,都会覆盖node_modules中的代码,另外我的项目属于内部产品的场景,生产情况下的其他情形我没测试过,客官们谨慎处理

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to