You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On AnalyticalTable components with the renderRowSubComponent prop set, and the subComponentsBehavior prop set to "IncludeHeightExpandable" I get the following error message when I collapse a table row for the first time:
Cannot update a component (`AnalyticalTable`) while rendering a different component (`VirtualTableBody`). To locate the bad setState() call inside `VirtualTableBody`, follow the stack trace as described in https://react.dev/link/setstate-in-render
Note: This only happens the very first time you collapse a row since the last page load. Not even unmounting and remounting seems to trigger this error again. You have to refresh the page for the this error to occur again.
I also tried it with multiple AnalyticalTable components. The error seems to trigger the first time any of the tables rows is getting collapsed. It won't trigger on the other table anymore at that point.
Get error message in the console saying "Cannot update a component (AnalyticalTable) while rendering a different component (VirtualTableBody). To locate the bad setState() call inside VirtualTableBody, follow the stack trace as described in https://react.dev/link/setstate-in-render"
The error will not occur anymore. Refresh the page and start again from (3.) to re-trigger the error.
Expected Behaviour
No response
Screenshots or Videos
No response
UI5 Web Components for React Version
2.5.0
UI5 Web Components Version
2.5.0
Browser
Chrome, Edge, Firefox
Operating System
No response
Additional Context
No response
Relevant log output
Organization
No response
Declaration
I’m not disclosing any internal or sensitive information.
The text was updated successfully, but these errors were encountered:
Describe the bug
On AnalyticalTable components with the
renderRowSubComponent
prop set, and thesubComponentsBehavior
prop set to"IncludeHeightExpandable"
I get the following error message when I collapse a table row for the first time:Note: This only happens the very first time you collapse a row since the last page load. Not even unmounting and remounting seems to trigger this error again. You have to refresh the page for the this error to occur again.
I also tried it with multiple AnalyticalTable components. The error seems to trigger the first time any of the tables rows is getting collapsed. It won't trigger on the other table anymore at that point.
Isolated Example
https://stackblitz.com/edit/github-ccdfvjhn?file=src%2FApp.tsx
Reproduction steps
AnalyticalTable
) while rendering a different component (VirtualTableBody
). To locate the bad setState() call insideVirtualTableBody
, follow the stack trace as described in https://react.dev/link/setstate-in-render"Expected Behaviour
No response
Screenshots or Videos
No response
UI5 Web Components for React Version
2.5.0
UI5 Web Components Version
2.5.0
Browser
Chrome, Edge, Firefox
Operating System
No response
Additional Context
No response
Relevant log output
Organization
No response
Declaration
The text was updated successfully, but these errors were encountered: