Skip to content
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

[Android] TextInput duplicate character repeatedly in Korean. #14794

Closed
lazyhoneyant opened this issue Jul 1, 2017 · 1 comment
Closed

[Android] TextInput duplicate character repeatedly in Korean. #14794

lazyhoneyant opened this issue Jul 1, 2017 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@lazyhoneyant
Copy link

lazyhoneyant commented Jul 1, 2017

Is this a bug report?

Yes

Have you read the Bugs section of the Contributing to React Native Guide?

Yes

Environment

  1. react-native -v: react-native: 0.45.1, react-native-cli: 2.0.1
  2. node -v: v8.1.0
  3. npm -v: 5.0.3
  4. yarn --version (if you use Yarn): 0.24.6

Then, specify:

  1. Target Platform (e.g. iOS, Android): Android
  2. Development Operating System (e.g. macOS Sierra, Windows 10): macOS Sierra
  3. Build tools (Xcode or Android Studio version, iOS or Android SDK version, if relevant): Android SDK 23 (also 24,25,26)

IOS is ok.
Samsung phone using android produce this issue.

I've tested following devices.

  • Galaxy 6 Edge
  • Galaxy 7 S
  • Galaxy 7 Edge

It's observed on a real device. not simulator.

Steps to Reproduce

I've made real-time chatting application by RN.
My app supports Korean and English language.
But I faced the critical issue when I type Korean.

When I type Korean character quickly.
After that message is sent.
The next time I put the new message to 'InputText', I encounter the character which the last character of the last message I sent.

It occurred in simple demo application using TextInput.

Expected Behavior

After Send Korean message, TextInput value and event are removed completely.
It' not my app's problem.
It is related to TextInput.

Actual Behavior

The issues keep going.

  1. Send message '안녕하세요'.
  2. InputText goes empty.
  3. I touched TextInput to type a new message.
  4. I type new message '반갑습니다.'
  5. TextInput show like this '요반갑습니다.'

This pattern goes steadily.

'안녕하세요' - send
'요반갑습니다' - send
'다나는' -send
'는프로그래머 - send

Reproducible Demo

https://snack.expo.io/HJTDy2V4W

@lazyhoneyant
Copy link
Author

I solved this issue by the following solution.

: #12462 (comment)

@facebook facebook locked as resolved and limited conversation to collaborators Jul 3, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants