Closed etolstoy closed 1 year ago
Found some related info during investigation of another issue, so let me put here a few details that (I hope) will help:
BreakIterator
in skiko (TODO move to icu
package)deleteBackward
method, but selects one symbol before it. It causes deleting selected area instead of deleting one emoji symbol.UITextInputStringTokenizer
by default, but somehing goes wrong here. I didn't found easy fix (but I soo hoped to do it) during my investigation.Formal unicode/ICU specs for it: Boundary Analysis, Grapheme Cluster Boundaries
cc @dima-avdeev-jb
Done, will be available in next dev builds
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Describe the bug Compound emojis such as ๐จโ๐ฉโ๐งโ๐ฆ to a
TextField
aren't treated as a single symbol, as oppose to iOS native behavior. This affects deletion of such symbols and navigation using arrows on a physical keyboard.https://user-images.githubusercontent.com/3955262/234074296-fc7e74f1-3084-4b47-9ba4-b4d144829894.MP4
(note that due to #3103 it removes two characters in a row instead of one with an on-screen keyboard)
Affected platforms
Versions