Master Detail scroll into view
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
首先按照列出的步骤重现 DataGrid 中的 Master Detail overflow 情况,然后跟踪展开的详情行的 scroll-into-view 行为。完成的标准是:选择或点击详情行内容不再触发滚动,同时表格单元格正常的 scroll-into-view 行为保持不变。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
The scroll into view mechanic for normal table cells works fine. However, when using the Master Detail pattern, scroll into view can be a poor design choice when DataGrid overflows.
Below is a quick video that demonstrates an overflowed DataGrid with Master Detail. The first few seconds is me horizontally scrolling with a trackpad. The quick left to right movement afterward occurs whenever I click on the expanded row. This happens because of scroll into view.
When trying to select text in the expanded row, it also causes the scroll into view to trigger multiple times, making it hard to read/select text.
To Reproduce
- Create DataGrid
- Add two columns with large width, enough to cause DataGrid to overflow scroll
- Add the Master Detail column
expandedkey withformatterthat has a similarly large width for the detail row - Add sample row
- Expand the row
- Click/select text on detail row
Expected behavior
Scroll into view should be disabled for detail rows.
Environment
react-data-gridversion: 7.0.0-beta.12react/react-domversion: 18
- 主要语言
- TypeScript
- 星标
- 7.7k
- 派生
- 2.2k
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 20
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Comcast/react-data-grid 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
Comcast/react-data-grid#4045 ·
维护者通常 1 天内回复
-
[Bug] Duplicate frozen column elements in DOM and key collision warning when enableVirtualization={false}可能已有人在做 @nstepien 于 80 天前认领。 未关闭
Comcast/react-data-grid#4120 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 48/100
Comcast/react-data-grid#4004 · 4 条评论 ·
维护者通常 1 天内回复
-
Pinned Rows API未关闭
难度 5/5 一周以上 新手友好度 35/100
Comcast/react-data-grid#3940 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 55/100
Comcast/react-data-grid#3929 ·
维护者通常 1 天内回复
查看 Comcast/react-data-grid 的全部 Issue
相似的 Issue
-
area:security documentation effort:S priority:P2
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
app:web meta:ops
难度 2/5 半天 新手友好度 78/100
osu-tournament-rating/otr#1113 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 65/100
typegoose/mongodb-memory-server#1040 ·
-
bug
难度 2/5 1-3 小时 新手友好度 92/100