-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React Native Layout Issue while using multiline in TextField #48203
Comments
Warning Could not parse version: We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.76.2. |
Warning Could not parse version: We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.76.2. |
Warning Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:
|
@MuhammadAuonOfficial Can you please check your reproducer once. It's not working correctly. Some files are missing. |
I can't provide a reproducer as the TextField is working on some screens and I can't share the rest of the code. |
Okay but without this we wouldn't be able to help. |
I can try adding some screenshots and videos. |
I couldn't reproduce the error, It was a faulty View. I removed the View and It worked fined. Although, I was using gap in that View But Managed to acheive the same functionality using Margin. |
Description
I am encountering a crash in native code when typing into a TextField with the multiline property set to true. This issue occurs in a new screen I created while working on an Expo SDK 51 project using React Native 0.74. The TextField works flawlessly across other screens in the app, including those with multiline enabled. However, on this specific screen, the app crashes immediately when I start typing.
Below, I have provided the relevant code for the TextField component and the debugger log where the issue is triggered in Xcode.
Environment
Expo SDK: 51
React Native: 0.74
Platforms: iOS
Development Environment: macOS with Xcode
Error Code
My Code
Steps to reproduce
React Native Version
0.74.5
Affected Platforms
Runtime - iOS
Areas
Other (please specify)
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://snack.expo.dev/NRyACbtulAltLwe0W0-Ul
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: