react: view tabs' fit check at 320 px with a mouse, and after a late font
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- javascript, react
调研方向
阅读 tests/browser/view-tabs.spec.js 和 use-tabs-fit.js。先检查现有的 320 px 触摸操作和换行用例是如何组织的,然后查看 hook 如何测量标签页宽度以及如何处理 document.fonts。完成标准是:德语报告包含一项在 320 px 下使用鼠标检查是否适配的内容,并且 hook 会在字体加载后重新测量;或者报告标题准确描述了这一行为。
由索引模型根据 Issue 内容生成。
描述
Two small gaps left by #1081 (#943):
tests/browser/view-tabs.spec.jsno longer tests a German report 320 px wide with a mouse; the 320 px case runs with touch only. Add it to the one-line cases if it fits now, or to the wrapping case if not.use-tabs-fit.jsmeasures the row's needed width only while the longer form shows. A web font that loads while the tabs or buttons are already short leaves that width stale until the contents change or the row grows. The header says a font that loads is compared again, which is half true. Measure again whendocument.fontsis ready, or say what the hook does.
- 主要语言
- JavaScript
- 星标
- 1
- 派生
- 1
- 平均合并
- 3 小时 52 分钟
- 30 天内合并 PR
- 466
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eizedev/pivotkit 的其他 Issue
-
area:server
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
area:react bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
area:react
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
area:tests
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
area:react
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
相似的 Issue
-
bug security
难度 2/5 1-3 小时 新手友好度 76/100
IbrahimHafez1/loadwise#251 ·
维护者通常 1 天内回复
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 87/100
erkamyaman/unslop-anything#421 ·
维护者通常 1 天内回复