carbon-design-system / carbon-addons-iot-react

A collection of React components shared between IBM Watson IoT products.
https://carbon-design-system.github.io/carbon-addons-iot-react/
Apache License 2.0
96 stars 78 forks source link

Minified React error #185 seen in the Card component in the IOT storybook. #3678

Open rontiris opened 1 year ago

rontiris commented 1 year ago
  1. Go to IOT Storybook. https://carbon-addons-iot-react.com/?path=/story/1-watson-iot-card-card--with-ellipsed-title-tooltip-external-tooltip
  2. Go to the Card compoinent. --> with ellipsed title tooltip & external tooltip
  3. In the Knobs section. Enable the "demo title text tooltip (titleTextTooltip)" checkbox.
  4. Now in the Card click on the Card title ellipses.

Actual: You will see the error below:

Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. Error: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at Ws (https://carbon-addons-iot-react.com/vendors~main.d62ed908.iframe.bundle.js:130:90353) at Object.enqueueSetState (https://carbon-addons-iot-react.com/vendors~main.d62ed908.iframe.bundle.js:130:48981) at _.setState (https://carbon-addons-iot-react.com/vendors~main.d62ed908.iframe.bundle.js:122:1298) at n.value (https://carbon-addons-iot-react.com/vendors~main.d62ed908.iframe.bundle.js:20:927354) at os (https://carbon-addons-iot-react.com/vendors~main.d62ed908.iframe.bundle.js:130:83472) at pc (https://carbon-addons-iot-react.com/vendors~main.d62ed908.iframe.bundle.js:130:101247) at t.unstable_runWithPriority (https://carbon-addons-iot-react.com/vendors~main.d62ed908.iframe.bundle.js:138:3844) at Vi (https://carbon-addons-iot-react.com/vendors~main.d62ed908.iframe.bundle.js:130:45025) at fc (https://carbon-addons-iot-react.com/vendors~main.d62ed908.iframe.bundle.js:130:97719) at Qs (https://carbon-addons-iot-react.com/vendors~main.d62ed908.iframe.bundle.js:130:93873)

rontiris commented 1 year ago

image

erzhan-temir-mamyrov commented 1 year ago

Hello @rontiris ! Thank you for bringing this up. This issue seems to be similar to #3645 part 3. The fix is delivered in pre-release 2.152.0-next.12. You can verify that this bug is resolved by viewing pre-release storybook.