Text input padding
オープン
まだ誰も着手していません。
Needs: Triage :mag:
- 主要言語
- C++
- スター
- 127k
- フォーク
- 25.3k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 4
説明
Description
With expo 53 and react native 0.79 I noticed our input has weird padding my solution was to give it padding:0
I tried it with new and old arch it is the same
Steps to reproduce
- clone repo
- install deps && do a prebuild
yarn prebuild - run android
yarn andriod
React Native Version
0.79.0
Affected Platforms
Runtime - Android
Output of npx @react-native-community/cli info
System:
OS: macOS 15.4
CPU: (12) arm64 Apple M2 Pro
Memory: 259.66 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.3.0
path: ~/homebrew/bin/node
Yarn:
version: 1.22.22
path: ~/.config/yarn/global/node_modules/.bin/yarn
npm:
version: 10.9.2
path: ~/homebrew/bin/npm
Watchman:
version: 2025.04.07.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.4
- iOS 18.4
- macOS 15.4
- tvOS 18.4
- visionOS 2.4
- watchOS 11.4
Android SDK: Not Found
IDEs:
Android Studio: 2024.3 AI-243.24978.46.2431.13208083
Xcode:
version: 16.3/16E140
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.11
path: /usr/bin/javac
Ruby:
version: 3.4.2
path: /opt/homebrew/opt/ruby/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 19.0.0
wanted: 19.0.0
react-native:
installed: 0.79.0
wanted: 0.79.0
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Stacktrace or Logs
there is no logs here
Reproducer
https://github.com/mzaien/react-native-0.79-textinput-repro
Screenshots and Videos
https://github.com/user-attachments/assets/8d166d30-384e-4be0-b45c-eda8fed4a7e0
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされた再現リポジトリから始め、ドキュメント化されたセットアップに従ってください。依存関係をインストールし、yarn prebuild を実行してから、想定されている Yarn コマンドで Android を起動します。React Native 0.79 で、明示的な padding:0 がある場合とない場合の TextInput のレンダリングを比較し、両方のアーキテクチャ構成を確認してください。予期しない Android の padding が理解され、この workaround を必要とせずに修正されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, react-native
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100