useHeights内htmlElement为null兼容
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
找到 useHeights 的实现,并检查使用 htmlElement 读取 offsetHeight 的位置。复现 htmlElement 为 null 的情况,然后验证虚拟列表能够在不抛出异常的情况下处理该情况,并且现有的高度行为保持不变。
由索引模型根据 Issue 内容生成。
描述
- 主要语言
- TypeScript
- 星标
- 813
- 派生
- 170
- 平均合并
- 23 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
react-component/virtual-list 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 58/100
react-component/virtual-list#325 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 20/100
react-component/virtual-list#305 ·
-
难度 4/5 3-5 天 新手友好度 35/100
react-component/virtual-list#303 ·
-
希望添加横向虚拟滚动未关闭
难度 5/5 一周以上 新手友好度 25/100
react-component/virtual-list#297 ·
-
难度 4/5 3-5 天 新手友好度 35/100
react-component/virtual-list#292 ·
查看 react-component/virtual-list 的全部 Issue
相似的 Issue
-
bot:ai-assisted status:untriaged
难度 2/5 1-3 小时 新手友好度 85/100
midnightntwrk/midnight-js#1424 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
mksglu/context-mode#1268 ·
维护者通常 5 天内回复
-
Edit:未关闭check:failed streams:edit
难度 2/5 1-3 小时 新手友好度 60/100
维护者通常 1 天内回复
-
[Table] reserveSelectedRowOnPaginate=false 时表头全选包含其他页数据可能已有人在做 @dvd233 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
Tencent/tdesign-react#4416 · 2 条评论 ·
维护者通常 1 天内回复
-
area:widget bug
难度 2/5 1-3 小时 新手友好度 66/100
interledger/publisher-tools#894 ·
维护者通常 1 天内回复