You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Label clips when calling render function prop of TextInput component in outline mode #4329
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
Activity
gedu commentedon Mar 6, 2024
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
jamesmogambi commentedon Mar 7, 2024
Here is the screenshot of my source code .
ayloncarrijo commentedon Mar 13, 2024
Same here. It was working fine on version 5.10.6.
jamesmogambi commentedon Mar 19, 2024
Seems it breaks in later versions
pentolbakso commentedon Sep 22, 2024
still not working
dccarmo commentedon Oct 13, 2025
For what is worth, the issue is the
labelWidthcalculation here: https://github.com/callstack/react-native-paper/blob/main/src/components/TextInput/Label/InputLabel.tsx#L118jamesmogambi commentedon Oct 15, 2025
Fine let me check it
bviala commentedon Feb 18, 2026
bump
on my end label is fine when at the top (focus || hasValue state) but cut off when inside the input (!focus && !hasValue state)
feat: rework TextInput component (#4909)