Function getIsSomeSelected() return false when has one child
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 42/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- react, typescript
- 領域
- frontend
研究方向
先執行連結的 CodeSandbox 重現,並追蹤只有一個已選取子項的父項之 getIsSomeSelected()。使用有兩個子項的相同案例確認行為,接著找出相關的選取邏輯,並新增涵蓋範圍以呈現只有一個子項的父項之預期結果。
由索引模型根據 Issue 內容生成。
描述
TanStack Table version
8.20.5
Framework/Library version
React 17.0.2
Describe the bug and the steps to reproduce it
Description bug
When a parent has only one node and this node is selected, function getIsSomeSelected() return all as false
Additional
See that in my object, subRow has only one item, the problem only occurs in this case. If you add one more item totaling 2 children, it works correctly
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://codesandbox.io/p/devbox/clhnxy?migrateFrom=yldcnv
Screenshots or Videos (Optional)
Do you intend to try to help solve this bug with your own PR?
None
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.6k
- 分支
- 3.6k
- 平均合併
- 5 小時 55 分鐘
- 30 天內合併 PR
- 3
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
TanStack/table 的其他 Issue
-
Median aggregation overflows for large finite middle values可能已有人在做 @EnesKartal 於 12 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
Column resize does not end if mouseup is missed (screenshot, switching tabs)可能已有人在做 @lx3133584 於 13 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 35/100
維護者通常 1 天內回覆
-
svelte-table: controlled expanded and pagination state resets straight after every change可能已有人在做 @NickSpag 於 28 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 25/100
TanStack/table#6640 · 1 個 reaction ·
維護者通常 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 於 59 天前認領。 未關閉
難度 5/5 一週以上 新手友好度 35/100
維護者通常 1 天內回覆
相似的 Issue
-
inference/go type/feature
難度 1/5 1-3 小時 新手友好度 72/100
anomalyco/opencode#65148 · 1 則留言 ·
維護者通常 1 天內回覆
-
truapi-release
難度 2/5 1-3 小時 新手友好度 72/100
paritytech/product-sdk#529 ·
維護者通常 1 天內回覆
-
Add: Mansudae TV未關閉approved check:passed streams:add
難度 2/5 1-3 小時 新手友好度 64/100
維護者通常 1 天內回覆
-
[Perf] Canvas layer composition is quadratic: splitRenderLayers re-copies the node array per node未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 77/100
devlikeapro/waha#2369 ·
維護者通常 5 天內回覆