mat-select seems to have serious performance issue
- 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ả
#### Bug, feature request, or proposal:
With latest release, mat-form-field support was added for mat-select. But it introduced performance issues when we have multiple select lists (5-8).
When we use mat-form-field with input or text area it doesn't seem to cause any performance issue but it seem that its implementation for mat-select needs a review. On lengthy forms we are seeing a delay of up to 3 seconds, which are instant without mat-form-field on mat-select.
#### What is the expected behavior?
It should smooth and fast.
#### What is the current behavior?
Its very slow.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.4.4
Material 2.0.0-beta.12
Chrome
Hướng dẫn đóng góp
Hướng nghiên cứu
Báo cáo đề cập đến mat-select và mat-form-field nhưng không nêu tệp, bài kiểm thử hoặc điểm bắt đầu để tái hiện. Trước tiên, hãy tái hiện độ trễ được báo cáo với 5–8 control mat-select trên Angular 4.4.4 và Material 2.0.0-beta.12, sau đó so sánh với mat-select không có mat-form-field. Công việc được xem là hoàn tất khi biểu mẫu dài không còn xuất hiện độ trễ nhiều giây được báo cáo và hành vi này được bao phủ bởi một bài kiểm thử hồi quy hoặc benchmark.
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, performance
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100