Socket
Socket
Sign inDemoInstall

react-native-cjk-textinput-patch

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-cjk-textinput-patch

Patch for TextInput problem in CJK


Version published
Maintainers
1
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 22 May 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc