Settings: section highlight stays on General after switching sections
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 67/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- react, typescript
- 领域
- accessibility, desktop, frontend
调研方向
从 apps/app/src/settings.tsx 开始,issue 指出 aria-current 会跟随分区状态;检查分区导航的焦点、悬停和选中样式。重现报告中按下辅助功能控件的步骤,并与实际鼠标点击进行比较。切换分区后活动分区会高亮显示,直接打开 Updates 时 Updates 仍会高亮显示,即为完成。
由索引模型根据 Issue 内容生成。
描述
Seen while dogfooding Ace Canary 0.0.46.60.
Steps
- Open Settings (Ace Canary → Settings…). It opens on General, with General highlighted.
- Click Providers, then This Mac.
Expected: the highlight moves to the section you're on.
Actual: the content switches, but General stays highlighted and Providers/This Mac never are.
If Settings opens straight to a section (Check for Updates… opens Updates), that section is highlighted correctly.
Notes
- The clicks were made with accessibility presses from the desktop tools, which don't move the pointer. A real mouse click may behave differently.
apps/app/src/settings.tsxsetsaria-currentfromsection, which is the same state that switches the content. So the stuck highlight may be a focus or hover style rather thanaria-current.
Part of #5.
- 主要语言
- TypeScript
- 星标
- 1
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
githubnext/ace2 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 94/100
githubnext/ace2#487 ·
-
难度 2/5 1-3 小时 新手友好度 90/100
githubnext/ace2#486 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
githubnext/ace2#437 ·
-
难度 4/5 3-5 天 新手友好度 35/100
githubnext/ace2#442 ·
-
难度 3/5 1-2 天 新手友好度 40/100
githubnext/ace2#440 ·
相似的 Issue
-
documentation
难度 2/5 1-3 小时 新手友好度 74/100
components-web-app/docs#260 ·
-
难度 1/5 1 小时以内 新手友好度 65/100
521xueweihan/HelloGitHub#4025 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 75/100
ctrf-io/playwright-ctrf-json-reporter#117 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
voidzero-dev/void#478 ·
维护者通常 1 天内回复