If virtual is enabled, an error message is displayed,node.getBoundingClientRect is not a function
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- react, typescript
- 領域
- frontend
研究方向
先在啟用 virtual 的情況下重現錯誤,然後從 getOffset 中的 css.js:88 開始,經過 stickyScrollBar.js:84 和 raf.js 追蹤呼叫堆疊。確認哪個值傳入了 getOffset,並將 done 定義為 virtual 模式不再拋出所回報的 TypeError。
由索引模型根據 Issue 內容生成。
描述
css.js:88 Uncaught TypeError: node.getBoundingClientRect is not a function
at getOffset (css.js:88:1)
at stickyScrollBar.js:84:1
at callRef (raf.js:30:1)
at raf.js:34:1
- 主要語言
- TypeScript
- 星號
- 1.4k
- 分支
- 624
- 平均合併
- 1 小時 55 分鐘
- 30 天內合併 PR
- 1
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
react-component/table 的其他 Issue
-
feat: expose onVirtualScroll on VirtualTable可能已有人在做 @jinxiangqiang 於 8 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 35/100
react-component/table#1522 ·
-
Fixed-header tables force one getBoundingClientRect per column on every mount (ResizeObserver-driven MeasureCell)可能已有人在做 @rubenmarcus 於 29 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 42/100
react-component/table#1507 ·
-
rowExpandable does not work when dataSource has children field可能已有人在做 @nrps9909 於 63 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 50/100
react-component/table#1416 ·
-
難度 5/5 一週以上 新手友好度 30/100
react-component/table#1403 ·
-
難度 5/5 一週以上 新手友好度 15/100
react-component/table#1269 · 1 則留言 ·
查看 react-component/table 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
marmelab/react-admin#11431 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 88/100
db-ux-design-system/core-web#8655 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
stripe/react-stripe-js#728 ·
-
[Upload Grade C dataset] the pop-up changes it's size while uploading the document => Jumping effect未關閉bug
難度 2/5 1-3 小時 新手友好度 66/100
epam/statgpt-admin-frontend#305 ·
維護者通常 1 天內回覆