Open jpaviron1738 opened 1 year ago
@jpaviron1738 thank you for your fix. How can we implement this?
@jpaviron1738 thank you for your fix. How can we implement this?
Did you find any solution?
For anyone wondering how to implement it, create 'patches' folder at the project root (parallel to package.json file). Create a new file in it '@twotalltotems+react-native-otp-input+1.3.11.patch'. Copy the above code mentioned at top and paste in the file. Add 'react-native-mask-input' package to project.
yarn add react-native-mask-input
In package.json under "scripts" key, add
"postinstall": "patch-package",
Run yarn install
or yarn postinstall
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
@twotalltotems/react-native-otp-input@1.3.11
for the project I'm working on.Hi I noticed that OTP are cramming initially on a single input field upon copying from clipboard. I decided to fix the weird behavior with MaskInput.
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.