-
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
issues with controlled TextInput with text replacement, "." shortcut on iOS #27693
Comments
I am running into the same issue. it works when the shortcut is a-z like if you make a text replacement "smh" -> |
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. |
this issue has not been fixed, not sure how to get it more attention |
+1 |
I see I'am not the only one with the |
does this issue need a |
I am also running into the same issue. |
The same with me, any update on this? |
Same problem here - exact same versions as @sonnd08 |
Any news? |
This is one of the telltale signs someone has built their app in React Native, that iOS Text Replacement doesn't work. Any update? |
Any news on this issue? Still randomly happens in TextInputs that are not multiline. |
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. |
guess thats what I get for going on vacation :\ |
ANy update ? |
@chrisdrackett @mhoran Hey, I'm looking at it and I think I found a possible solution: Here is where I posted everything: #37437 |
I'm still getting this issue on |
still an issue |
I'm looking at it again, My Mac broke and took a while to fix it |
PR created: #39385 |
@NickGerleman I tried applying your patch to an Expo v52 (React Native 0.76.0) project using New Arch. Unfortunately it doesn't seem to resolve this issue and the workaround I referenced earlier no longer works in 0.76.0 and New Arch. Perhaps I did something wrong, but I'm fairly certain the patch is applying and it doesn't seem to change the behavior. @cortinico would you please reopen this issue? |
I can give a second look (?) |
Here is a reproducer with the patch applied: https://github.com/mhoran/new-arch-autocorrect-repro. I also opened a pick request (reactwg/react-native-releases#595) though it's a bit moot since the bug does not seem to be fixed. |
This should be fixed in main by #47269 and #46970. I've filed a pick request for 0.76. For those who want to test sooner, you can apply the patches to 0.76.0 via |
React Native version:
0.61.4
Steps To Reproduce
TextInput
component:"." Shortcut
is on.Describe what you expected to happen:
The above will not be true when using
value
on aTextInput
. If you remove the value prop and have the component uncontrolled the above all works as expected. Also, if the component is mademultiline
the above all work as expected, even in the controlled case.Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/H18J_rWlI
The text was updated successfully, but these errors were encountered: