Closed TosinAF closed 8 years ago
That reminds me of https://github.com/slackhq/SlackTextViewController/blob/30f3ecc9926b08443f4a61d47f30a23d0f8d0aac/Source/SLKTextViewController.m#L1167-L1171 It's probably a thing for most east asian languages. Will dig in soon.
Could probably do the same thing for now and maybe focus on when we start to localize.
Yup. Although, this isn't really a localisation issue. More like an race condition by all the little hacks we do to disable the auto-correction for auto-completion, in east asian languages.
Closing this for now.
@dzenbot which part of code should I look to fix this problem? any ideas?
@TosinAF @dzenbot Actually it wasn't problem with SLK in my case. I looked into every single method in SLK when autocompletion worked. And this didn't happened when didChangeAutoCompletionPrefix:word
didn't get called which leaded me to my own source code where I overrided this method. So when this method was called, I originally did filtering/sorting stuffs to display autocompletion in main thread, and I gave a shot to run this on background since I doubted maybe these work load might cause to textview not display text correctly. I simply used GCD to do sorting/filtering work and called showAutoCompletionView:
in main thread, and it worked as I expected!
Using
/
when typing in Korean on iOS forces letters to separate and not combine as they should (and this works as intended in other apps on iOS)User Comment