The layergroup div uses the same ratio in height as in width if the div height is initially 0. Since the progress bar is in the layergroup div, it fixes its size to not zero, not triggering the ratio resize. The progress bar must be moved out of the layergroup.
The layergroup div uses the same ratio in height as in width if the div height is initially 0. Since the progress bar is in the layergroup div, it fixes its size to not zero, not triggering the ratio resize. The progress bar must be moved out of the layergroup.