Closed jeesonjohnson closed 2 months ago
This is also broken with react 16.
This is a duplicate of https://github.com/carbon-design-system/ibm-products/issues/5986, but the bits about this occurring in previous react versions is very helpful. I've created a reproduction and will look at this. See @flannanl's workaround in #5986 until we address this further.
Package
Carbon for IBM Products
Description
When using nestedRows within the DataGrid component in React 17, the application crashes on expansion of the rows. We think that this was introduced in the release
2.48.0
. The error that we see can be seen below:This is a mission critical error, as users are not able to use the nestedRows on React17. This causes our whole app to crash.
Component(s) impacted
DataGrid component
Browser
Chrome, Safari, Firefox, Microsoft Edge
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
2.48.0
Suggested Severity
Severity 1 = The design is broken in a critical way that blocks users from completing tasks or damages the brand. Affects major functionality, no workaround.
Product/offering
IBM Cloud Pak for Integration (CP4I)
CodeSandbox or Stackblitz example
See Here
Steps to reproduce the issue (if applicable)
Go to the codesandbox. Expand out all the expandable rows. The app should crash. See video for example in React 17.
https://github.com/user-attachments/assets/da401f7f-62d4-4f3d-8070-2d9f072da57a
Release date (if applicable)
No response
Code of Conduct