I’m playing with a component and I would like to create the charts dynamically but it’s not recognizing the screen size on the first loads and also, sometimes the chart inside of the div goes over the div box.
The problem of the width size in the div (it will render correctly only if I do resize the screen size, as shown in the gif below):
Also, sometimes, instead of the chart be shown inside of the div, it’s going over
It will be fixed in two cases: if I drag the component or if I resize the screen as the problem above.
I found this solution on this StackOverflow question: https://stackoverflow.com/questions/55462861/dash-dynamic-layout-does-not-propagate-resized-graph-dimensions-until-window-i