dousee163 opened a new issue #10624: tab导致echarts的height和width不正确
URL: https://github.com/apache/incubator-echarts/issues/10624
 
 
   ### Version
   4.0.4
   
   ### Steps to reproduce
   1.有两个botstrap tab, tab1和tab2,tab1里面有chart1高度400px宽度400px, 
tab2里面有chart2高度400px宽度400px
   2.页面初始化的时候,tab1是active的,这时候显示chart1,宽度高度都很正常
   3.这时候chart2的height是100px,width是0px,而不是我事先设置好的400px
   4.切换到tab2,chart2显示成非常小,即高度100px
   5.我调用resize,重新render一次,能够达到400*400
   
   ### What is expected?
   最好的效果是 tab隐藏的时候要实际的大小,而不是100*0,这样切换tab的时候不会有从小到大的动画效果
   
   ### What is actually happening?
   chart2显示成非常小,即高度100px
   
   ---
   由于之前的issue被close了,所以重新提一遍
   
   <!-- 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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to