Text input padding
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 127k
- Forks
- 25.3k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 4
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked reproducer repository and follow its documented setup: install dependencies, run yarn prebuild, then launch Android with the intended Yarn command. Compare the TextInput rendering on React Native 0.79 with and without the explicit padding:0, checking both architecture configurations. Done means the unexpected Android padding is understood and corrected without requiring that workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100