Bug #22379
openRefactor Virtualized lists
Description
The primary goal of this issue is to remove the MUI errors that appear in the browser console when viewing a virtualized list in Workbench. The problem is that the Autosizer and FixedSizeList elements each return a div wrapping the child elements, the last of which is a TableRow. MUI throws a validateDOMNesting warning because the only legal child of a TableBody is a TableRow, and the current implementation adds two divs between them.
A possible solution is to bump MUI to 6^ to take advantage of the virtualized table support:
https://mui.com/material-ui/migration/upgrade-to-v6/
https://mui.com/material-ui/react-table/#virtualized-table
It is also possible that the warning could be eliminated by manipulating the innerElement/outerElement props on those two components, but I tried and could not come up with a solution that both removed the warning and rendered the table properly.
Updated by Lisa Knox over 1 year ago
- Related to Bug #22231: Clean up MUI and react warnings/errors that appear on the browser console added
Updated by Brett Smith 7 months ago
- Related to Bug #22856: <tr> cannot appear as a child of <div> added
Updated by Brett Smith 4 months ago
- Target version set to Development 2025-12-10
- Assigned To set to Lisa Knox
Updated by Brett Smith 3 months ago
- Release set to 83
- Target version deleted (
Development 2025-12-10)
We will defer this until after #22381.
Updated by Brett Smith 3 months ago
- Related to Bug #22381: Replace redux-form added
Updated by Brett Smith 2 months ago
- Target version set to Development 2026-02-04
Updated by Brett Smith about 2 months ago
- Target version changed from Development 2026-02-04 to Development 2026-02-18
Updated by Brett Smith about 1 month ago
- Target version changed from Development 2026-02-18 to Development 2026-03-04
Updated by Brett Smith 20 days ago
- Target version changed from Development 2026-03-04 to Development 2026-03-18
Updated by Lisa Knox 6 days ago
Proposed solution is to upgrade MUI to take advantage of the virtualized list support in later MUI versions. The Redux-form dependency is a hard blocker for this, and is being addressed in #22381. The CircularSuspense component created bin the course of #22381 should be updated/replaced once the MUI upgrade happens.