-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestions will hide when input combined character on IE #388
Suggestions will hide when input combined character on IE #388
Conversation
Sorry, I'm not familiar with combined characters. |
Reproduced on the this example.
and type にほん( This issue reproduce only IE 11. Because other browser fired |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See the keyCode spec:
- If an Input Method Editor is processing key input and the event is keydown, return 229.
So keydown with keyCode 229
should be ignored, per this PR.
@kivikakk @KeitaMoromizato Wouldn't it make sense to ignore keyCode 229 always, not just for Enter? |
"KeyCode 229" event fire only from Enter pressed. So KeyCode 229 is part of enter pressed event. Therefore I wrote in Enter key handling section. |
v9.3.1 includes this fix. @KeitaMoromizato @kivikakk Thanks for the contribution! |
I don't understand how you'd ever hit the fix You'd only get to that line if @KeitaMoromizato did you verify this fixed your problem? |
I am also a non-affected observer who just happened upon the comment in the code and was curious, and I agree with @cdeutsch that the fix is no longer doing anything, but it is probably not the fault of the author - if you look at the PR's code, the library used to |
I tried input Japanese(Kanji) on IE 11. But suggestions hide when enter key press.
For combine character, Should ignore
keyCode=229
in onKeyDown.