react-native-cjk-textinput-patch

1.0.0 • Public • Published

NPM Version

TextInput is dancing when inputing with CJK.

This problem has been fixed in v0.63(#28805), but we don't know when it will be released.

Now, This patch will make it work as you expect! It's too easy to use.

Usage

Install

Once installed, react-native's TextInput is automatically patched.

yarn add react-native-cjk-textinput-patch --dev

postinstall, postuninstall should be added to prevent this patch from being restored whenever packages are changed.

{
  ...
  "scripts": {
    ...,
    "postinstall": "yarn run cjk-textinput-patch",
    "postuninstall": "yarn run cjk-textinput-patch"
  }
}

If you were already using postinstall, you can add the patch script later.

"postinstall": "yarn run jetify; yarn run cjk-textinput-patch"

Execute manually

You can execute the patch manually with the command below.

yarn run cjk-textinput-patch

Uninstall

Just delete the command you added to postinstall, postuninstall and remove my package.

/react-native-cjk-textinput-patch/

    Package Sidebar

    Install

    npm i react-native-cjk-textinput-patch

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    18.9 kB

    Total Files

    5

    Last publish

    Collaborators

    • ifsnow