Anyone have a working example for a svelte virtualized table with expandable rows? #652
Unanswered
dominictwlee
asked this question in
Q&A
Replies: 3 comments
-
I think it's connected with our auto adjustment logic, when item is resizes https://github.com/TanStack/virtual/blob/main/packages/virtual-core/src/index.ts#L655-L667 In the end we only need it when scrolling backward to retain scroll position when element sizes are difirent from estimations |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ah yeah, that seems to be it. Shall I raise an issue with a minimum repro then? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Created an issue for this: #656 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It seems that virtualized tables will scroll to top if an expandable row is toggled. Does anyone know whether this is intentional, and whether there are alternative solutions to this?
Based this off the svelte example for virtualized table + adding simple expandable functionality with subrows.
Beta Was this translation helpful? Give feedback.
All reactions