Skip to content

Label clips when calling render function prop of TextInput component in outline mode  #4329

Open

Description

@jamesmogambi

Current behaviour

The label of TextInput component clips in outline mode when I call the render function prop. I am calling the render prop so as to render my Custom input, in this case a dropdown select input. Space is sufficient so it should not clip the label. Is the their a way to work around it ?

Expected behaviour

Should not clip the label

How to reproduce?

Preview

What have you tried so far?

I have tried applying different styles but still not working

Your Environment

software version
ios x
android 14
react-native 0.73.4
react-native-paper 5.12.3
node 18.17.1
npm 9.6.7
expo sdk 50.0.7
Screenshot_1709322988

Activity

  1. gedu commented on Mar 6, 2024

    @gedu
    Contributor

    Hey, do you have a snack, or can show some code? That way would be easier to replicate and see what it is going on. Thanks

  2. jamesmogambi commented on Mar 7, 2024

    @jamesmogambi
    Author

    Here is the screenshot of my source code .

    text-input-0

  3. ayloncarrijo commented on Mar 13, 2024

    @ayloncarrijo

    Same here. It was working fine on version 5.10.6.

  4. jamesmogambi commented on Mar 19, 2024

    @jamesmogambi
    Author

    Same here. It was working fine on version 5.10.6.

    Seems it breaks in later versions

  5. pentolbakso commented on Sep 22, 2024

    @pentolbakso

    still not working

    Screenshot 2024-09-23 at 00 48 01
    <TextInput
      label="Timezone"
      value="something value"
      mode="outlined"
      render={() => <View />}
    />
  6. dccarmo commented on Oct 13, 2025

    @dccarmo
  7. jamesmogambi commented on Oct 15, 2025

    @jamesmogambi
    Author

    Fine let me check it

  8. bviala commented on Feb 18, 2026

    @bviala

    bump

    on my end label is fine when at the top (focus || hasValue state) but cut off when inside the input (!focus && !hasValue state)

  9. added a commit that references this issue on Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions