fixedHeader classes when changing absolution/fixed position
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- frontend
调研方向
首先,在指定的窗口宽度下复现所报告的表头高度不一致问题,并检查 issue 和链接的论坛讨论中描述的 fixedHeader 行为。确定 component 如何区分固定定位和绝对定位,然后验证所请求的 class 或可见性行为能够正常工作,而无需覆盖整个 function。
由索引模型根据 Issue 内容生成。
描述
Hi,
recently I was experiencing problem, that elements in table th and fixedHeader th had different height at very specific window width... I think because of browser rounding in table th to align elements to 2 rows, but in fixed headers elements aligned to 3 rows...
The solution was quite simple, that when fixedHeader is in absolute position is not needed to be visible... https://datatables.net/forums/discussion/15516/display-only-when-table-header-is-not-visible-top-header
But i dont want to modify the fixedHeader file and overriding whole function because of 3 rows of code is quite an overhead.
But it would be really great I think, if fixedheader will toggle some class to differentiate it is with fixed or absolute position. That will allows to hide fixedHeader, if he is absolutely positioned..
My question is, if is planned some posiibility to for example parametrize fixed header to use class, or be hidden when is absolutely positioned?
- 主要语言
- TypeScript
- 星标
- 73
- 派生
- 83
- 平均合并
- 4 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DataTables/FixedHeader 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 38/100
DataTables/FixedHeader#110 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 38/100
DataTables/FixedHeader#105 · 26 条评论 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 40/100
DataTables/FixedHeader#103 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
DataTables/FixedHeader#102 ·
-
难度 5/5 一周以上 新手友好度 25/100
DataTables/FixedHeader#98 · 8 条评论 · 1 个 reaction ·
查看 DataTables/FixedHeader 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
siyuan-note/siyuan#20040 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
RunestoneInteractive/rs#1574 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
remotion-dev/remotion#11901 ·
维护者通常 1 天内回复
-
Poll constructor throws for an uncached channel while resolving a message context-menu interaction未关闭bug need repro packages:discord.js
难度 2/5 1-3 小时 新手友好度 82/100
discordjs/discord.js#11645 ·
维护者通常 3 天内回复
-
🐞 bug
难度 2/5 1-3 小时 新手友好度 72/100
Sitecore/content-sdk#641 ·
维护者通常 2 天内回复