Infinite loop caused by combining virtual scroll and grouping
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- react, typescript
- 領域
- frontend
研究方向
開啟連結的 CodeSandbox,檢查 src/main.tsx 第 75 行附近,此處將虛擬捲動與列分組結合會觸發迴圈。使用 react-table 8.9.2 和 react-virtual 2.10.4 重現主控台中不斷輸出的訊息,然後追蹤這些功能之間的互動。啟用分組和虛擬捲動後,可重現範例不再迴圈或凍結,即表示完成。
由索引模型根據 Issue 內容生成。
描述
Describe the bug
I'm trying to combine virtual scrolling and row grouping, but it is causing an infinite loop.
Here is an example. Uncomment line 75 in main.tsx and you will see endless console messages and the browser tab will freeze.
Is there another way I should be combining these two features, or is this a bug? I couldn't find an example online that combines these two features.
Your minimal, reproducible example
https://codesandbox.io/p/sandbox/elastic-mendeleev-3nqqhg?embed=1&file=%2Fsrc%2Fmain.tsx%3A75%2C32
Steps to reproduce
- Open https://codesandbox.io/p/sandbox/elastic-mendeleev-3nqqhg?embed=1&file=%2Fsrc%2Fmain.tsx%3A75%2C32
- Uncomment line 75
Expected behavior
Infinite loop does not occur
How often does this bug happen?
Every time
Screenshots or Videos
https://github.com/TanStack/table/assets/358661/865d1a1d-e995-4c94-a937-8419ca8b293e
Platform
Chrome, Arch Linux x64
react-table version
8.9.2
TypeScript version
No response
Additional context
react-virtual v2.10.4
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
- 主要語言
- TypeScript
- 星號
- 28.5k
- 分支
- 3.6k
- 平均合併
- 1 天 4 小時
- 30 天內合併 PR
- 21
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
TanStack/table 的其他 Issue
-
svelte-table: controlled expanded and pagination state resets straight after every change可能已有人在做 @NickSpag 於 5 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 25/100
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 38/100
TanStack/table#6601 · 5 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
Cast required to access custom options when defining a custom plugin/feature可能已有人在做 @sorena-paydar 於 36 天前認領。 未關閉
難度 5/5 一週以上 新手友好度 35/100
維護者通常 1 天內回覆
-
`aggregatedCell` not typed against bound `cellComponents` in `createAppColumnHelper`可能已有人在做 @cpruijsen 於 47 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 35/100
維護者通常 1 天內回覆
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
vekexasia/pi-extensible-workflows#374 ·
維護者通常 2 天內回覆
-
documentation good first issue
難度 2/5 1-3 小時 新手友好度 77/100
維護者通常 1 天內回覆
-
help wanted linux
難度 2/5 1-3 小時 新手友好度 75/100
GiuseppeBellamacina/downtime#19 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 82/100
scaleway/ultraviolet#7089 ·
維護者通常 2 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
Get-Concord-AI/concord-mcp#296 ·
維護者通常 1 天內回覆