bug(MatChipList): matChipInputFor changes height of MatFormField (Chips Autocomplete)
- 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ả
#### Reproduction
https://material.angular.io/components/chips/examples
Steps to reproduce:
1. When `mat-form-field` is empty (no value is set) the height is 65.5px
2. When `mat-chip` is added height is 79.5px.
#### Expected Behavior
`mat-form-field` should not change its height.
#### Actual Behavior
`mat-form-field` changes its height when first value is added.
#### Environment
- Angular: latest
- CDK/Material: latest
- Browser(s): Chrome (latest)
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 10
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với ví dụ Chips Autocomplete tại material.angular.io/components/chips/examples và tái hiện thay đổi chiều cao giữa một mat-form-field trống và một mat-form-field chứa mat-chip đầu tiên. Theo dõi hành vi liên quan đến matChipInputFor và mat-form-field; hoàn tất khi trường giữ nguyên chiều cao sau khi thêm chip đầu tiên.
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