Open
Description
TanStack Table version
8.21.2
Framework/Library version
18.3.1
Describe the bug and the steps to reproduce it
If we have a table with infinite scroll and expandable rows, without make any expand/collapse, the new rows coming from the scroll will be expanded by default, but once I collapse one row, when we make a new scroll, the new rows will be collapse by default, but should be expanded.
Steps to reproduce it
- Load more rows with infinite scroll
- See the new rows coming with expanded = true
- Collapse one row
- Load more rows with infinite scroll
- See the new rows coming with expanded = false
ACTUAL RESULT:
- New rows coming with expanded = false
EXPECTED RESULTS:
- New rows coming with expanded = true
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://stackblitz.com/edit/tanstack-table-hd8jfjul?file=src%2Fmain.tsx&preset=node
Screenshots or Videos (Optional)
Screen.Recording.2025-02-27.at.10.09.16.mp4
Do you intend to try to help solve this bug with your own PR?
None
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Metadata
Metadata
Assignees
Labels
No labels
Activity