vue-virtual-scroller icon indicating copy to clipboard operation
vue-virtual-scroller copied to clipboard

DynamicScroller goes into an infinite loop bug

Open patchthecode opened this issue 2 years ago • 1 comments

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

patchthecode avatar Aug 05 '22 14:08 patchthecode

kostia7alania avatar Dec 26 '22 19:12 kostia7alania