vue-virtual-scroller
vue-virtual-scroller copied to clipboard
DynamicScroller goes into an infinite loop bug
System: Vuejs3 build: https://github.com/Akryum/vue-virtual-scroller/tree/next/packages/vue-virtual-scroller
I have created a minimal recreation of the bug here -> https://stackblitz.com/edit/vitejs-vite-chutjj?file=src/App.vue
Description of problem: Go to App.vue, and you will see the variable on line#12 = "vertical" All will be fine.
Now change this variable to "horizontal". And the framework will go into an infinite resizing loop
** More information ** The App.vue file has 2 DynamicScrollers. The outter DynamicScroller is Vertical and the inner DynamicScroller is horizontal (after you changed the variable above).
StackBlitz will not show the infinite loop. But the console log printing this loop is located in the
/src/src/components/RecycleScroller.vue
on line#147