SIGN IN SIGN UP
chartjs / Chart.js UNCLAIMED

Simple HTML5 Charts using the <canvas> tag

0 0 1 JavaScript

[2.9] FitBoxes recursion when dimensions are NaN (#7853)

* Infinite recursion when dimensions are NaN

Adding a verification on updateDims that handles a case when dimensions are both
NaN. This caused an infinite recursion on fitBoxes when calculating the layout
for a chart that is mounted on an element that is not yet in DOM.

Fixes #7761
A
Alessandro Menezes committed
063b7dc075e87eeec6334808bcc90af165f7421e
Parent: 2493cb5
Committed by GitHub <noreply@github.com> on 10/9/2020, 2:45:13 PM