Open mhoran opened 5 years ago
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 is still an issue.
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 is still an issue.
Any news on this?
Related issue: https://github.com/facebook/react-native/issues/28025
you did not provide the info, the issue was not flagged as Platform iOS
@fabriziobertoglio1987 what info should be provided? Sorry, I'm not OP but I can help with my case.
@rikur tried it before, didn't work well :( the textfield was popping in and out of editting state, not finishing at the desired state :(
@fabriziobertoglio1987 should we do anything about this issue? Should I publish a new issue like this but with better details about the case? I mean, I have the same issue as OP.
@Ashoat do we need to provide any more info about this?
I don't think so, the repro should be enough. I wouldn't expect anybody to solve this for you anytime soon though. If you need it fixed the best solution would be to put up a PR.
@backmeupplz I'm sorry. I don't work on iOS. I just work on Android. I hope somebody working on iOS will be bable to help you. Thanks a lot. Sorry I did not read the other emails. I wish you a good day. Fabrizio
about the info, I was referring to the output from react-native info which allows the bot to add a Tag. I use that tag to filter Android issues as I don't work on iOS, but nevermind. Seems that the issue is tagged now. Thanks a lot.
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.
The Expo snack repro doesn't appear to work in Expo 47. Would somebody mind updating it so that this issue doesn't go stale?
Updated the Snack: https://snack.expo.dev/@mhoran/trusting-peanut.
On iOS, when
multline={true}
is set on aTextInput
, something wonky happens when the value of aTextInput
is programmatically modified (viasetState
and thevalue
property of saidTextInput
) and an autocorrect suggestion is present.The value of the text input ends up being set to the combination of the autocorrect suggestion and the programmatic value. This only happens when
multiline={true}
. Whenmultiline={false}
, all is fine.This seems only to be reproducible on iOS. ~I was not able to reproduce on the Snack iOS simulator.~ This can be reproduced using the software keyboard in the Snack iOS simulator.
React Native version: 0.59
Steps To Reproduce
multiline={true}
to aTextInput
Describe what you expected to happen:
I expected the programmatic value to be set in the text input, as it is when
multiline={false}
.Snack, code example, screenshot, or link to a repository:
https://snack.expo.dev/@mhoran/trusting-peanut
Typing "Yo mh" and clicking the "Bananas!" text will result in the text box containing "Yo my oran", instead of "Yo mhoran". Changing
multiline={true}
tomultiline={false}
gives the expected behavior.