[Realbox] Disable inline autocompletion when text is composed with IME
KeyboardEvent.isComposing is a boolean property indicating if the input event is fired within a composition session started by an input method editor (IME). IME is primarily used for inputting CJK (Chinese, Japanese, and Korean) characters. Updating the input text via inline autocompletion when a composition session is active can have undesired effects such as the one described in the bug linked to in this CL. While not an ideal solution, this is a safe one due to its small scope allowing this change to be merged into a previous milestone. An ideal solution would be to use a mechanism other than input text selection for inline autocompletion such as how it is done in the omnibox via a grey label: screenshot/8ougnH9pRAiDfb2 Bug: 1128310, 1149769 Change-Id: Ie6596c9f60da33adaf8b4847d891fc102c5d71c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2543546Reviewed-by:Tommy Li <tommycli@chromium.org> Commit-Queue: Moe Ahmadi <mahmadi@chromium.org> Cr-Commit-Position: refs/heads/master@{#828471}
Showing
Please register or sign in to comment