-
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
[iOS] TextInput does not scroll to reveal what's being typed #26393
Comments
This, for one reason or another, is caused by the existence of the lineHeight style property. |
Not for me. It occurs when setting a custom font ( |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
The issue persists. |
The issue still exists on react-native 0.61.5. The current workaround on our team is to remove |
In the environment I'm working on this doesn't seem to have anything to do with line height, and instead depends on the |
it seems to me this can be related to both |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
still exists as far as I can tell |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
still a bug in my testing |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
:\ |
We are encountering this issue too |
If anyone has any clue on how to solve this or even how to troubleshoot it, I'm more than happy to work on a PR, but to be honest, I'm too lost to even know where to begin looking for the cause of this bug |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
If a user inputs a large text into a TextInput it's stopping the caret at the last visible position without showing what's being typed by the user.
React Native version:
Steps To Reproduce
value
ordefaultValue
fontSize
andlineHeight
to the field's style.Our investigations have discovered this is an iOS only issue. It appears to happen only for devices without the notch. These were the ones we were able to observe the issue happening:
The issue does not occur for Android. We were also able to notice the correct behavior happening on iPhone X and XS Max.
Describe what you expected to happen
The TextInput should scroll to the side revealing what the user is typing.
Example
Run this on iOS: https://snack.expo.io/Sk3hmoHBB
The text was updated successfully, but these errors were encountered: