callstack / callstack/react-native-paper

TextInput expands parent container unexpectedly

Open
#4,790 2 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.