@gravity-ui/chartkit 3.0.0-beta.2 → 3.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -43,9 +43,6 @@ function getPointsForInitialRefresh(chart) {
|
|
|
43
43
|
}
|
|
44
44
|
function forceHoverState(chart, activePoints) {
|
|
45
45
|
const chartType = get(chart, 'userOptions.chart.type');
|
|
46
|
-
if (!chartType) {
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
46
|
if (chartType === 'pie') {
|
|
50
47
|
chart.tooltip.refresh(activePoints);
|
|
51
48
|
chart.pointsForInitialRefresh = activePoints;
|
|
@@ -208,6 +205,6 @@ export const withSplitPane = (ComposedComponent) => {
|
|
|
208
205
|
}
|
|
209
206
|
}
|
|
210
207
|
return React.forwardRef((props, ref) => {
|
|
211
|
-
return React.createElement(WithSplitPane, Object.assign({
|
|
208
|
+
return React.createElement(WithSplitPane, Object.assign({ forwardedRef: ref }, props));
|
|
212
209
|
});
|
|
213
210
|
};
|
package/package.json
CHANGED