With some CJK keyboards (like Sogou IME for Chinese on Android), we might receive an unwanted Backspace key event right after we focus to the next field. Such unwanted Backspace events will delete characters we've just input like this:
This PR added a time check to filter out any Backspace events happened within 200ms after the last successful input. While solved the problem, it seems a bit tricky but I cannot find a better solution to handle such cases.
With some CJK keyboards (like Sogou IME for Chinese on Android), we might receive an unwanted
Backspace
key event right after we focus to the next field. Such unwantedBackspace
events will delete characters we've just input like this:This PR added a time check to filter out any
Backspace
events happened within 200ms after the last successful input. While solved the problem, it seems a bit tricky but I cannot find a better solution to handle such cases.