TanStackT
TanStack2y ago
8 replies
brilliant-orange

Shaking the scroll when there is a radix CheckboxRoot inside the list item.

demo: https://stackblitz.com/edit/tanstack-virtual-szapmj?file=src%2Fcomponents%2FRowVirtualizerDynamic.vue

I can't figure out why the scroll is shaking when there is a radix CheckboxRoot inside. If you put an absolutely identical static button, then this does not happen. At the same time, nothing inside the radix component causes scrolling

What cyclically triggers the scroll event on the parent element?
StackBlitzmasawik
Run official live example code for Virtual Dynamic, created by Tanstack on StackBlitz
Virtual Dynamic Example (forked) - StackBlitz
Was this page helpful?