-
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 onChange/onChangeText are not triggered on Android if the underlying text does not change #18822
Comments
Thanks for posting this! It looks like your issue may be missing some necessary information. Can you run Thank you for your contributions. |
Added missing env @react-native-bot |
@react-native-bot status? Do we need to make some noise asking to fix this? |
We can reproduce this on multiple android devices. RN v0.56.0 |
@Jyrno42 Any solution? I'm experience this |
From what I see, setting autocorrect false fixes this. Otherwise, it sets the text input empty, you can see empty, but still appends the last word of the text when you start typing.
|
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 "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions. |
not stale. E: I have some time to work on react-native today so I'll look into it. |
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. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
On android onChange/onChangeText are not triggered if the underlying text does not change. On IOS however the callbacks are always called.
Environment
Environment:
OS: Linux 4.13
Node: 8.9.4
Yarn: 1.3.2
npm: 5.6.0
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found
Packages: (wanted => installed)
react: ^16.3.1 => 16.3.1
react-native: latest => 0.55.2
Steps to Reproduce
Repro here: https://snack.expo.io/@jyrno42/textinput-onchange-onchangetext-issue
Test it by:
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: