zenas-react-icecream-charts
Advanced tools
Comparing version 0.10.3 to 0.10.4
@@ -56,3 +56,4 @@ import Highcharts from 'highcharts'; | ||
} | ||
} | ||
}, | ||
reflow: false | ||
}, | ||
@@ -59,0 +60,0 @@ lang: createHighLangOptions(langData.langOptions), |
@@ -67,3 +67,3 @@ import { useEffect, useImperativeHandle, useLayoutEffect, useRef } from 'react'; | ||
var _a; | ||
(_a = chartRef.current) === null || _a === void 0 ? void 0 : _a.redraw(); | ||
(_a = chartRef.current) === null || _a === void 0 ? void 0 : _a.reflow(); | ||
}, 100)).current; | ||
@@ -89,3 +89,3 @@ /** | ||
useEffect(function () { return function () { var _a; return (_a = chartRef.current) === null || _a === void 0 ? void 0 : _a.destroy(); }; }, []); | ||
useEffect(function () { | ||
useLayoutEffect(function () { | ||
if (renderToRef.current) { | ||
@@ -92,0 +92,0 @@ addListener(renderToRef.current, debouncedRedrawChart); |
@@ -72,3 +72,4 @@ "use strict"; | ||
} | ||
} | ||
}, | ||
reflow: false | ||
}, | ||
@@ -75,0 +76,0 @@ lang: chart_1.createHighLangOptions(langData.langOptions), |
@@ -92,3 +92,3 @@ "use strict"; | ||
var _a; | ||
(_a = chartRef.current) === null || _a === void 0 ? void 0 : _a.redraw(); | ||
(_a = chartRef.current) === null || _a === void 0 ? void 0 : _a.reflow(); | ||
}, 100)).current; | ||
@@ -114,3 +114,3 @@ /** | ||
react_1.useEffect(function () { return function () { var _a; return (_a = chartRef.current) === null || _a === void 0 ? void 0 : _a.destroy(); }; }, []); | ||
react_1.useEffect(function () { | ||
react_1.useLayoutEffect(function () { | ||
if (renderToRef.current) { | ||
@@ -117,0 +117,0 @@ resize_detector_1.addListener(renderToRef.current, debouncedRedrawChart); |
{ | ||
"name": "zenas-react-icecream-charts", | ||
"version": "0.10.3", | ||
"version": "0.10.4", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "esm/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4814478
145047