Make mat-autocomplete scroll behavior match mat-select.
- 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ả
#### Please describe the feature you would like to request.
Disable the ability to scroll the page when the autocomplete options are displayed, so autocomplete works the same as mat-select.
#### What is the use-case or motivation for this proposal?
Currently when you use mat-autocomplete, the options do not stick to the dropdown field - reported in #12500. The mat-select behavior works great, so could we copy it for mat-autocomplete?
#### Is there anything else we should know?
Looking through the mat-select code, there's 1000 lines of code related to scrolling. I could work on a PR with some pointers to where the behavior is located.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách so sánh cách triển khai việc cuộn của mat-select với mat-autocomplete, tập trung vào cách các tùy chọn vẫn được gắn với trường dropdown khi trang được cuộn. Tái hiện hành vi hiện tại của autocomplete và dùng hành vi của mat-select làm tham chiếu. Hoàn thành khi autocomplete ngăn trang cuộn và giữ các tùy chọn của nó ở vị trí giống như mat-select.
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
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 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