angular / angular/components

Guide Content list element is not highlighting Last index element even we are reading last content

未关闭
#30,746 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area: material.angular.io P4
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

### 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

_No response_

### Description

I am going through https://material.angular.io/guide/schematics
and I noticed following things
1) when I reading left content by content it highlights current topic name in right side list
but its not working for last content
- when i am reding last content **Material 3 Theme schematic** but right side highlighter showing only on **Drag and Drop schematic** instead of **Material 3 Theme schematic**

### Reproduction

I am going through https://material.angular.io/guide/schematics
and I noticed following things
1) when I reading left content by content it highlights current topic name in right side list
but its not working for last content
- when i am reding last content **Material 3 Theme schematic** but right side highlighter showing only on **Drag and Drop schematic** instead of **Material 3 Theme schematic**

### Expected Behavior

when I am reading last content in list then only last element is not highlighted in **Guide Content** list

### Actual Behavior

when I am reading last content in list then only last element is should be highlighted in **Guide Content** list

### Environment

Image

贡献指南

打开贡献指南

调研方向

打开 https://material.angular.io/guide/schematics 上的 Guide Schematics 页面,并阅读到最后的“Material 3 Theme schematic”部分来重现该问题。跟踪 Guide Content 的高亮行为,并验证当最后一个条目的内容可见时,该条目会被高亮显示,同时不改变之前条目的高亮状态。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。