bug(material/sort): hover hint arrow on an unsorted header shows the active sort direction, not the resulting direction after click.
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 70/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- angular, angularjs, typescript
- 领域
- frontend
调研方向
从 Material 排序组件及其测试入手,跟踪当另一列具有有效排序方向时,悬停在未排序表头上所显示的提示箭头行为。将提示的方向与表头配置的起始方向(matSortStart,默认为 asc)进行比较。完成标准是:点击前,Fat 列的提示箭头朝上,并且与点击产生的方向一致。
由索引模型根据 Issue 内容生成。
描述
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
18
Description
The hint arrow on an unsorted header uses the table's current direction, but a click sorts that header in its start direction (matSortStart, asc by default).
Last worked as expected on v18. Which can be seen on the docs page.
https://material.angular.dev/components/sort/overview (bugged)
https://v18.material.angular.dev/components/sort/overview (working)
Reproduction
This can be reproduced on the docs page.
https://material.angular.dev/components/sort/overview
- Sort the Calories column desc.
- Hover the Fat column.
- Note the direction of the hover hint arrow.
- Click the Fat column to sort.
- NOT sorted how the hint from three (3) suggested it would be.
Expected Behavior
At step three in the reproduction description, the hover hint arrow should be pointed up.
Actual Behavior
At step three in the reproduction description, the hover hint arrow is pointed down.
Environment
- Angular: latest
- CDK/Material: latest
- Browser(s): all
- Operating System (e.g. Windows, macOS, Ubuntu): all
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 14 小时
- 30 天内合并 PR
- 95
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
angular/components 的其他 Issue
-
bug(mat-date-picker): month shown twice in date picker可能已有人在做 @PreethiPantangi 于 16 天前认领。 未关闭area: material/datepicker P4
难度 2/5 1-3 小时 新手友好度 72/100
angular/components#33763 · 2 条评论 · 3 个 reaction ·
维护者通常 1 天内回复
-
Bug in table.scss footer cell height: unset instead of footer row height unset可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area: material/table P4
难度 1/5 1 小时以内 新手友好度 88/100
angular/components#33709 · 1 条评论 ·
维护者通常 1 天内回复
-
docs-bug(Table): Add example with `rowspan`可能已有人在做 @BHUVANSH855 于 83 天前认领。 未关闭area: material/table docs P4
难度 2/5 1-3 小时 新手友好度 72/100
angular/components#33455 ·
维护者通常 1 天内回复
-
bug(date-adapter): Misleading JSDoc for createDate returns type可能已有人在做 @BHUVANSH855 于 133 天前认领。 未关闭area: material/core P3
难度 1/5 1 小时以内 新手友好度 78/100
angular/components#33059 · 2 条评论 ·
维护者通常 1 天内回复
-
bug(DIALOG): dialog's container-color does not follow Material 3 design specs可能已有人在做 @jjalbuenacabuyao 于 492 天前认领。 未关闭area: material/dialog P2
难度 2/5 1-3 小时 新手友好度 64/100
angular/components#30536 · 3 个 reaction ·
维护者通常 1 天内回复
查看 angular/components 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
area:ui enhancement issue-form:feature platform:cross-platform review: high
难度 2/5 1-3 小时 新手友好度 72/100
1lck/Lithe-IDEA#1092 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
developmentseed/deck.gl-raster#693 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
Marker-Inc-Korea/AutoRAG#1801 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复