angular / angular/components

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

Đang mở
#30,746 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
area: material.angular.io P4
Ngôn ngữ chính
TypeScript
Star
25k
Fork
6.8k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
91

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Mở trang Guide Schematics tại https://material.angular.io/guide/schematics và tái hiện vấn đề bằng cách đọc đến phần cuối “Material 3 Theme schematic”. Theo dõi hành vi làm nổi bật của Guide Content và xác minh rằng mục cuối cùng được làm nổi bật khi nội dung của mục đó hiển thị, mà không thay đổi việc làm nổi bật các mục trước đó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.