@redsift/charts 13.0.2 → 13.0.4

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.
@@ -488,7 +488,7 @@ const RenderedScatterPlot = /*#__PURE__*/forwardRef((props, ref) => {
488
488
  } = _ref,
489
489
  forwardedLegendProps = _objectWithoutProperties(_ref, _excluded2);
490
490
  return /*#__PURE__*/React.createElement(StyledScatterPlot, _extends({
491
- mode: typeof onDotClick === 'function' || typeof getDotAnchorProps === 'function' ? 'interactive' : 'static',
491
+ mode: typeof onDotClick === 'function' || typeof getDotAnchorProps === 'function' || typeof forwardedLegendProps.getLegendItemAnchorProps === 'function' ? 'interactive' : 'static',
492
492
  definition: hasCategory ? format('definition-with-categories', {
493
493
  categoryLength: categories.length,
494
494
  circleLength: circles.length