-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
Quality / Stability / Reliability
-
2
-
False
-
-
False
-
None
-
Description of problem:
Hovering over charts does not display the expected label. Instead, an error "TypeError: _delaunator.default is not a constructor" is thrown. This is due to a version conflict between @patternfly/react-charts (which expects delaunator v4.0.1) and @patternfly/react-topology (which depends on delaunator v5.0.1).
Version-Release number of selected component (if applicable):
How reproducible:
This issue is consistently reproducible.
Steps to Reproduce:
1. Navigate to a page containing a chart component that utilizes the @patternfly/react-charts library (For example - the overview section under Virtualization). 2. Hover your mouse over the chart.
Actual results:
When hovering over a chart, a "TypeError: _delaunator.default is not a constructor" error is thrown, and no tooltip/label is displayed. In DEV - an error message is shown in the UI. In Prod - the error is suppressed and only shown in the dev console. In both cases the tooltip / label is not displayed.
Expected results:
Expected results: The tooltip/label should appear on hover, displaying the data point details without any errors.
Additional info:
A temporary workaround is to restrict the delaunator dependency to version 4.0.1 in the project's package.json file.