Siyfion/angular-typeahead

Cannot type Chinese.

Closed this issue · 2 comments

Hello, I found there is a problem when type Chinese. To create 你,Chinese would type "ㄋ一ˇ" and then use enter. But with element bind the input event, I always got "ㄋ一ˇ" directly in input and had no need (chance) to use enter to create the real word 你.

I switched bind 'input' to 'keyup', and the issue is gone. But I saw the comments in the src about input-event. Though input could avoid the special keys, but since we use twitter typeahead.js, it has dealt with it (https://github.com/twitter/typeahead.js/blob/master/src/typeahead/input.js), why should we still use input event?

Thanks!

I found commit 7ca25d3 has remove input event bind part.
Expecting the new release.
Thanks !

Thanks for solving your own issue with a little digging. You should be able to get the new version now directly from bower.