Akryum / Akryum/vue-virtual-scroller

DynamicScroller goes into an infinite loop bug

未關閉
#744 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
TypeScript
星號
10.8k
分支
973
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。