-
Notifications
You must be signed in to change notification settings - Fork 987
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
Add a temp patch fixing Korean/Chinese characters input in RN 0.55.x (iOS). #4837
Conversation
branch PR-4837: |
@lukaszfryc @annadanchenko I temporarily left only iOS build here, it turns out it is not that easy to set it up to a custom branch. |
@mandrigin looks like it's working! At least for Chinese and Japanese. Previously, each new letter typed was considered individually. Now they are combined which is the expected result according. But, when I test Korean, I don't notice any difference so I'm not sure if it's fixed there. I even tried your test scenario from facebook/react-native#19809 and my result is Btw, also good news is that I can't reproduce #4818 on this build! |
@lukaszfryc yeah, I was actually testing it on a Korean keyboard, so both gifs in the PR are for it. |
@mandrigin I've just tested it again on Korean keyboard and it works. Strange, I think had to type some incorrect character previously that didn't match the word. I tested it again on iOS 11.4, 11.2.6 and compared with 0.9.20 to be sure of how it looks there and all looks fine 👍 Are we sure that it's not affecting Android and there is no need to test it there? |
yeah, the changes are in iOS-specific area, it doesn't even compile these files for Android |
@mandrigin any other things apart from input / keyboard that maybe affected (on iOS)? If not, let's review and merge |
@lukaszfryc nope, the code specifically touches multi-line text input on iOS. |
OK. So this works fine. At least on iOS 11.4, 11.2.6 which I think it's enough to test it. |
abf2341
to
8f1856d
Compare
branch PR-4837: |
The fix is described here: facebook/react-native#19809 The patch: 1. A copy of patched RCTUITextView.m file 2. A pre-action in the "Build" scheme to patch the RN file. See more on pre-actions here: https://burcugeneci.wordpress.com/2016/05/25/scripts-we-love-xcode-builds-life-savers/ 3. A build step to fail the build if the file wasn't patched. Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
8f1856d
to
caba84e
Compare
The single line still has problems |
@tonlen could you describe the single line issue in more details with steps how to reproduce it? Btw, have you tried to reproduce it on the latest version from app store 0.9.21? |
The fix itself is described here: facebook/react-native#19809
The patch:
pre-actions here: https://burcugeneci.wordpress.com/2016/05/25/scripts-we-love-xcode-builds-life-savers/
I don't use diffs or anything there because this patch will be applied before every build, essentially.
--
The follow-up issue for using our own RN fork: #4850
--
fixes: #4818
fixes: #4829
status: ready