Skip to content

TextInput broken for Korean in ReactNative 0.54 and 0.55 #19313

Closed
@daesan

Description

@daesan

Environment

Environment:
OS: macOS High Sierra 10.13.4
Node: 6.11.0
Yarn: Not Found
npm: 3.10.10
Watchman: Not Found
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
react: ^16.3.1 => 16.3.1
react-native: ^0.55.4 => 0.55.4

Steps to Reproduce

In TextInput, just type some Korean characters, such as "오후의 홍차". Then move the cursor to the space between "오후의" and "홍차", and then type some more Korean characters, such as "맛있는"

Expected Behavior

The text should be input like "오후의 맛있는 홍차"

Actual Behavior

However, as of RN version 0.54 and 0.55, the text is input like "오후의 ㅁㅏㅇㅣㅆㄴㅡㄴ 홍차"

Specifically, Korean characters are combined correctly when the cursor is at the end of text in TextInput, but if the cursor is placed at any position other than the end, Korean characters are not combined correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: TextInputRelated to the TextInput component.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions