callstack / callstack/react-native-paper

TextInput mode=outline has floating label truncated

オープン
#4,537 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug TextInput
主要言語
TypeScript
スター
14.5k
フォーク
2.2k
平均マージ
5日 23時間
マージ済み PR(30日)
12

説明

### Current behaviour
In v5, TextInput with mode="outline" has its floating label truncated. See image:

![Image](https://github.com/user-attachments/assets/649f3545-cce1-43b9-a370-a3760be7c914)

### Expected behaviour
The full label is displayed, not truncated

### How to reproduce?
See [this Snack](https://snack.expo.dev/uiuAtcKGV6w2_o8iEBZ0i).

If you change the version of RNP to v4, the issue goes away (in the Snack editor, simply modify the version value in `package.json` as per the images below).

### Preview
**RNP v4**:

![Image](https://github.com/user-attachments/assets/ea2dc790-b386-415e-b886-b4cdfbaa1a4d)

**RNP v5**:

![Image](https://github.com/user-attachments/assets/2b065ae2-68b9-4590-aa14-10d74c5abc52)

### Your Environment

See Snack.

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

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

評価

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

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

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