material-react-table version
v.3.2.1
react & react-dom versions
v19.1.1.
Describe the bug and the steps to reproduce it
Error Cannot read properties of undefined (reading 'index') when using enableColumnPinning with enableColumnVirtualization
Steps to Reproduce:
- Navigate to the grid.
- Open column settings and hide all columns via Show/Hide Columns.
- Enable one column (ensure at least three columns remain hidden before this one).
- Start pinning columns to the right (from the upper one).
ER: Corresponding columns are hidden
AR: When it comes to active column, paper disappears and console shows: Cannot read properties of undefined (reading 'index').
Minimal, Reproducible Example - (Optional, but Recommended)
Steps to Reproduce:
- Navigate to the grid.
- Open column settings and hide all columns via Show/Hide Columns.
- Enable one column (ensure at least three columns remain hidden before this one).
- Start pinning columns to the right (from the upper one).
Screenshots or Videos (Optional)
Do you intend to try to help solve this bug with your own PR?
None
Terms