ionic-team / ionic-team/ionic-framework

bug: input inside of item gets truncated with long label on smaller viewports

オープン
#24,790 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
package: core type: bug
主要言語
TypeScript
スター
52.7k
フォーク
13.3k
平均マージ
1日 15時間
マージ済み PR(30日)
51

説明

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

![demo](https://user-images.githubusercontent.com/60390085/154100787-1fadad2d-f2b6-438d-a02d-34c93bd2d1cd.gif)

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。