Re: [I] Chart resize is not correct in some case of flex box layout. [echarts]

2024-01-25 Thread via GitHub


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

   > overflow:hidden
   
   thanks


-- 
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-unsubscr...@echarts.apache.org

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


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



Re: [I] Chart resize is not correct in some case of flex box layout. [echarts]

2024-01-03 Thread via GitHub


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

   Since this fixes it:
   
   ```
   div[echarts] {
 position: absolute;
 left: 0;
 top: 0;
 right: 0;
 bottom: 0;
   }
   ```
   
   Would it b e OK to just style the element that echarts is added to like this 
by default?


-- 
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-unsubscr...@echarts.apache.org

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


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



Re: [I] Chart resize is not correct in some case of flex box layout. [echarts]

2024-01-01 Thread via GitHub


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

   I think this issue may be related to this:
   
https://stackoverflow.com/questions/77661631/having-an-echart-on-the-front-and-back-of-a-flip-card-breaks-resizing
   
   


-- 
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-unsubscr...@echarts.apache.org

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


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



Re: [I] Chart resize is not correct in some case of flex box layout. [echarts]

2023-10-12 Thread via GitHub


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

   > 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.
   
   Thank you so much, it works for me


-- 
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-unsubscr...@echarts.apache.org

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


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