callstack / callstack/react-native-paper

TextInput expands parent container unexpectedly

オープン
#4,790 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る
bug
主要言語
TypeScript
スター
14.5k
フォーク
2.2k
平均マージ
5日 23時間
マージ済み PR(30日)
12

説明

### 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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

ソースファイルもテストも指定されていません。まず、制約のない flex コンテナ内で TextInput を再現し、現在のサイズ計算と意図されたサイズ計算を比較してください。コンポーネントの実装を特定して、合意した固有サイズの挙動に対するリグレッションテストを追加する前に、期待される挙動についての矛盾した文章を明確にしてください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react-native, typescript
領域
mobile
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。