Default MatChipInput wrongly delimits cyrillic input
Bug, feature request, or proposal:
Bug
What is the current behavior?
If you type in MatChipInput any cyrillic word containing letter "б", it gets wrongly delimited by this letter. This happens because in russian keyboard layout б is on the same key as english comma. For example, typing the word работа results in [ра] ота.
What are the steps to reproduce?
- Go to https://material.angular.io/components/chips/overview
- Type any cyrillic word containing letter "б".
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 7.0.2 Material 7.0.2 All browsers
We use the keyboard event's keyCode to determine the delimiter, which means that we can't really handle all languages automatically. You can use the matChipInputSeparatorKeyCodes input to set a different key code.
It would be nice to have a way to designate a separator based on the character entered. Since the comma is on different keycodes on different keyboards. This makes it somewhat complicated for applications that are deployed in multiple regions including US and Russia.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.