Akryum / Akryum/vue-virtual-scroller

DynamicScroller goes into an infinite loop bug

オープン
#744 コメント 1 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。