ionic-team / ionic-team/ionic-framework
bug: input inside of item gets truncated with long label on smaller viewports
- Ngôn ngữ chính
- TypeScript
- Star
- 52.7k
- Fork
- 13.3k
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 50
Mô tả
### Prerequisites
- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.
### Ionic Framework Version
- [ ] v4.x
- [X] v5.x
- [ ] v6.x
### Current Behavior
The `ion-label` displaces the `ion-input` value. Text wrap makes no difference and does not matter.

### Expected Behavior
The `ion-input` (value) must be dominant. Both elements should always be displayed.
### Steps to Reproduce
```html
This is my number input label
This is my number input label
```
See [CodePen](https://codepen.io/infacto/pen/JjOrxBV).
### Ionic Info
No Ionic workspace. Therefore no `ionic info` CLI possible. It's Angular 12.2.14 with Ionic 5.9.2.
### Additional Information
I selected Ionic 5 but I'm using the latest Ionic version in CodePen.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với bản tái hiện trên CodePen và ba entry point được đề cập: ion-item, ion-label và ion-input. Tái hiện trường hợp number-input ở viewport nhỏ hơn, sau đó theo dõi kiểu dáng và hành vi layout của component liên quan. Hoàn tất khi giá trị input vẫn hiển thị đồng thời label dài cũng được hiển thị trong cả hai cấu hình label.
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
- 42/100