-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Textinput Issue #48264
Comments
Warning Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:
|
I'm also facing a similar issue in iOS. I'm trying to implement the @mention input functionality. When I add a mentioned email, the text in the input field gets hidden and shows an indicator but in android it's working. Can anyone help me fix this?
Screen.Recording.2024-12-15.at.7.39.54.PM.mov |
I ran into this exact same issue, and here is a reproduction: Steps:
It does not occur when running the snack using Expo 51, only with Expo 52. Occurs with RN 0.76.x without Expo too. |
In React Native release 0.76.2, some changes were made to TextInput. After this update, long text gets hidden because event.nativeEvent.selection in onSelectionChange provides incorrect start and end cursor positions on iOS when TextInput has multiline set to true in my case. |
Description
While typing in a TextInput, moving to the next line causes the top line of text to partially hide under the input area. It reappears only after typing a character, creating a poor UI/UX experience.
Steps to reproduce
React Native Version
0.76.5
Affected Platforms
Runtime - Android, Runtime - iOS, Build - MacOS, Build - Windows
Output of
npx react-native info
Stacktrace or Logs
Reproducer
none
Screenshots and Videos
video_2024-12-13_21-30-34.mp4
The text was updated successfully, but these errors were encountered: