Header cell collapses when resizable set to true and promoted to staging environment
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
从 issue 中链接的 quick-start 示例开始,将 resizable: true 添加到 DataGrid 的列数据或 defaultColumnOptions 中。比较本地环境和 staging 环境中的行为,并找出为什么表头单元格只有在部署后才会折叠;当表头在两个环境中都展开并填满列时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
When resizable is set to true the columns work as intended but only locally. When the code is deployed to staging environment the header cells shrink. The same problem is seen with code from quick start and other examples.
To Reproduce
- Apply the code from the quick start page but include 'resizable: true' in column data. Alternatively set 'resizable: true' in defaultColumnOptions within the DataGrid component.
- Run locally and confirm expected behavior.
- Deploy to staging environment, header cell will have collapsed.
Link to code example:
https://www.npmjs.com/package/react-data-grid/v/7.0.0-beta.42 for quick start code
What the header cell looks like in local dev environment:
What the header cell looks like in staging environment:
Expected behavior
Header cell should expand to fill the entire width of the column. Expected behavior is seen in local environment but not in staging.
Environment
react-data-gridversion: 7.0.0.beta42react/react-domversion: 18.2.0
Additional context
- 主要语言
- TypeScript
- 星标
- 7.7k
- 派生
- 2.2k
- 平均合并
- 1 天 2 小时
- 30 天内合并 PR
- 24
环境准备
- 没有 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 于 71 天前认领。 未关闭
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
-
难度 1/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
core
难度 2/5 1-3 小时 新手友好度 70/100
vectorize-io/hindsight#5457 ·
维护者通常 1 天内回复
-
beginner friendly community contributions-welcome good first issue hacktoberfest help wanted testing up-for-grabs
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
lukilabs/beautiful-mermaid#160 ·
-
难度 2/5 1-3 小时 新手友好度 66/100
rescript-lang/rescript-lang.org#1420 ·
维护者通常 2 天内回复