Project

General

Profile

Actions

Bug #37156

closed

Pin victory-core to pre-36.9.0

Added by Samir Jha 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
-
Difficulty:
trivial
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

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 the package victory-core had a new release 36.9.0 which includes this change:
FormidableLabs/victory#2758
which seems to break the use of CommonProps.

Refer to PF issue: https://github.com/patternfly/patternfly-react/issues/10064


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #37255: _victoryCore.Helpers.isFunction is not a functionClosedEvgeni GolovActions
Actions

Also available in: Atom PDF