callstack / callstack/react-native-paper

TextInput expands parent container unexpectedly

Ouverte
#4,790 2 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
TypeScript
Étoiles
14.5k
Forks
2.2k
Merge moyen
5 j 23 h
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

No source file or test is named. Start by reproducing TextInput inside an unconstrained flex container and compare the current and intended sizing; clarify the contradictory expected-behavior text before locating the component implementation and adding a regression test for the agreed intrinsic-size behavior.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react-native, typescript
Domaine
mobile
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.