SIGN IN SIGN UP
ColorlibHQ / AdminLTE UNCLAIMED

AdminLTE - Free admin dashboard template based on Bootstrap 5

0 0 76 CSS

fix: pin pie chart height to avoid resize feedback loop (#6019)

The pie chart on index2.html was initialized without an explicit
height, putting ApexCharts in 100%-of-container mode. On browser zoom,
Edge re-fires resize events more aggressively than other browsers, and
ApexCharts' ResizeObserver got caught in a feedback loop with the
container -- chart resizes, container resizes, chart resizes... visible
as continuous flicker.

Pins chart.height to 350px in the donut chart options. Breaks the loop
without changing the chart's visual size at default zoom.
A
Aigars Silkalns committed
d6db29605d6c45b71247388e0911654ada506517
Parent: e1892ef