Skip to content

TextInput: at large text sizes a long label is cut off with no ellipsis, and a text size change isn't applied until a reload #5294

Open

Description

@Doberjohn

Current behaviour

Two problems with TextInput at large text sizes:

  1. At the largest text size (iOS accessibility sizes, Android font scale 2.0), a label that doesn't fit is cut off at the field's end with no ellipsis, both at rest and floated, and the resting label sits against the bottom indicator.
  2. TextInput reads the font scale once, when its module loads (fontScale = PixelRatio.getFontScale() in src/components/TextInput/constants.ts), and sizes the field from it. If the user changes the text size while the app is running, the text grows but the field keeps its old height: on Android at 2.0 the floated label is drawn over the placeholder, and the outlined label's background cuts a gap into the bottom outline. After a JavaScript reload the field is sized correctly.

6.0.0-alpha.3 does the same. The second one has been there since the 6.x TextInput (#4909).

Expected behaviour

  1. A label that doesn't fit ends with an ellipsis and keeps its spacing from the indicator.
  2. A text size change while the app runs resizes the field, as a cold start at the same size does.

How to reproduce?

  1. Render <TextInput label="Confirm password" secureTextEntry value={value} onChangeText={setValue} /> at full width on a phone.
  2. Set the largest text size (iOS: xcrun simctl ui <device> content_size accessibility-extra-extra-extra-large; Android: adb shell settings put system font_scale 2.0) and look at the label at rest and focused.
  3. For the second problem: open the screen at the default size, then set the Android font scale to 2.0 while the app runs, and look at a labelled field at rest and focused. Reload the JavaScript and compare.

Related: #4537 (5.x, an outlined floating label cut off).

Your Environment

software version
ios 27.2 (simulator), 26.5 (simulator)
android 13 (emulator)
react-native 0.88.1 (New Architecture)
react-native-paper 6.0.0-alpha.4 (main at 7ab2640)
expo sdk 58

Activity

  1. added this to the 6.1.0 milestone on Nov 23, 2026
  2. added a commit that references this issue on Nov 24, 2026
    9c93fb4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions