-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): handle IME input correctly to prevent accidental deletion …
…of characters closes [#12232](#12232) ## Description - Added handling for `compositionstart` and `compositionend` events to properly manage IME input (e.g., Chinese, Japanese). - Introduced `isComposing` flag to bypass autocomplete logic during IME composition. - Updated `inputText` synchronization after IME input ends to ensure it matches the finalized value. - Prevented unwanted modifications of input value when using IME, addressing the issue where typing and deleting partially composed characters could remove the last English character.
- Loading branch information
1 parent
b017835
commit 49d26e9
Showing
1 changed file
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters