callstack / callstack/react-native-paper
TextInput expands parent container unexpectedly
Open
bug
- Dominant language
- TypeScript
- Stars
- 14.5k
- Forks
- 2.2k
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 12
Description
### Current behaviour
TextInput inside a flex container without width constraints, the input expands to full width, causing the parent container to stretch. Expected behavior is that it should respect the parent’s intrinsic size unless explicitly styled.
### Expected behaviour
Expand the parent container
Contributor guide
Assessment
This issue has not been assessed yet.