Describe the problem
import { ChartPie } from '@patternfly/react-charts';
fails with
TypeError: Cannot read property 'primitiveProps' of undefined
at Object.<anonymous> (../foreman/node_modules/@patternfly/react-charts/src/components/ChartCursorTooltip/ChartCursorFlyout.tsx:111:18)
at Object.<anonymous> (../foreman/node_modules/@patternfly/react-charts/src/components/ChartCursorTooltip/index.ts:1:1)
This is probably because the package victory-core had a new release 36.9.0 which includes this change:
FormidableLabs/victory#2758
which seems to break the following use of CommonProps
|
import { Helpers, CommonProps, Path } from 'victory-core'; |
How do you reproduce the problem?
importing from '@patternfly/react-charts'; for version 6.94.15 throws this error. Likely reproducible in other 6.94.z versions.
Is this issue blocking you?
We'll probably pin victory-core package at an older version locally.
Describe the problem
import { ChartPie } from '@patternfly/react-charts';fails with
This is probably because the package victory-core had a new release 36.9.0 which includes this change:
FormidableLabs/victory#2758
which seems to break the following use of
CommonPropspatternfly-react/packages/react-charts/src/components/ChartCursorTooltip/ChartCursorFlyout.tsx
Line 3 in 36c9143
How do you reproduce the problem?
importing from
'@patternfly/react-charts';for version 6.94.15 throws this error. Likely reproducible in other 6.94.z versions.Is this issue blocking you?
We'll probably pin victory-core package at an older version locally.