-
Notifications
You must be signed in to change notification settings - Fork 138
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 with multiline not triggering onChangeText callback in 0.71.2 #1788
Comments
@shwanton FYI |
It seems others have hit this too, and it seems pretty bad. We'll try to take a look at it and find a fix. |
@Saadnajmi Awesome thanks! Can't wait to use 0.71, especially with that smooth content resizing =) |
Looks like TextInput onChangeText has issues w/ Paper on 0.71 |
@shwanton this seem to be resolved now in the upstream repo |
Looks like it should be picked for a future patch release, at which point we can merge it into our repo as well. |
@Saadnajmi is there anyway we can confirm this will fix the issue before we wait around for the patch? |
@k1mmm if you fork React Native macOS internally, you could try cherry picking the one commit. Since RN 0.71.7 was just released, and 0.71.8 right now only has that one commit in it's pick requests, I'll consider just cherry-picking it along with all the 0.71.7 commits for React Native macOS. I'll update in this thread if we end up doing that. |
I just tested cherry-picking that commit, and it doesn't seem to fix the issue :/ |
@Saadnajmi Oh, that's unfortunate. Alright, thanks for the effort and the update! |
@Saadnajmi Just wanna let you know onSubmitEditing do not work either on textInputs regarding being multiline or not |
@k1mmm What key are you using got submit? And have you set the
|
facebook#33653 Changed this api and we need to update the Fix incoming. |
Reopening till we backport to 0.71-stable |
I'm using Enter key with nothing else, this used to work in 0.69 @Saadnajmi |
Fix was picked to 0.71-stable: #1812 |
Its working flawless now! Thanks allot! |
Environment
Steps to reproduce the bug
<TextInput multiline onChangeText={(text) => console.log(text)} />
Additional context
Works perfectly without 'multiline' prop
The text was updated successfully, but these errors were encountered: