You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "ChristopherJBarr (via GitHub)" <gi...@apache.org> on 2023/03/20 18:51:09 UTC

[GitHub] [echarts] ChristopherJBarr commented on issue #11791: Chart resize is not correct in some case of flex box layout.

ChristopherJBarr commented on issue #11791:
URL: https://github.com/apache/echarts/issues/11791#issuecomment-1476762638

   I think I found a way around this.  If you set the flexbox element wrapping the chart to position: relative and overflow:hidden (not needed just looks better that way).  Then set the chart itself to position:absolute and 100% width and height, it seems to resize correctly.


-- 
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