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

A collection of React components shared between IBM Maximo Asset Monitor (Watson IoT), IBM Maximo Visual Inspection, and Graphite products.
https://carbon-design-system.github.io/carbon-addons-iot-react/
Apache License 2.0
96 stars 78 forks source link

[DateTimePickerV2]Application is crashing when date+time picker is used inside a table #3773

Closed bakkireddi closed 1 year ago

bakkireddi commented 1 year ago

Application is crashing when date+time picker is used inside a table. image (4) image (5)

jessieyan commented 1 year ago

Based on the information I received from @bakkireddi

This is the issue in ToolTip component. It wraps Carbon and in Carbon it triggers re-rendering when offset changes automatically if position changed. I'm not sure how to solve this issue at the moment. Have to contact carbon team and see if these is any solution.

jessieyan commented 1 year ago

We need to figure out how many re-renderings were triggered in the parent component. If the parent re-rendering too frequently, it would lead the to the issue of exceeding maximum depths in component. We need to think about minimized the re-renderings from both parent and child component.