-
Notifications
You must be signed in to change notification settings - Fork 540
AddOnComma also does "AddOn<" #334
Comments
Nice catch. Thanks for reporting it. 👍 |
might be interested in the linked PR as well? |
I'll take a look at it. |
Also the same problem occurs if you are using not Latin keyboard layout. |
I tried to reproduce the problem, but I couldn't. My default keyboard layout is pt-BR, which makes the Could you provide a plunk showing your problem? Also, what keyboard layout are you using? |
My keboard uk-UA (Ukraine) and it processes the letter "б" (same key as comma but in Cyrillic) |
@KostyaTretyak thanks for the plunk ;) |
I managed to emulate a de-DE keyboard, but even so I couldn't reproduce the problem. I used @KostyaTretyak's plunk and the comma char was processed as 188 while the < char was processed as 220. But I could reproduce the issue when using a uk-UA keyboard (apparently there's no comma key in that layout. Is that correct, @KostyaTretyak?). Anyway, I don't think there exists one solution that addresses all keyboard layouts out there. It seems to me that a better approach would be to provide a way to override the directive's keydown handler (or a small part of it) so developers can deal with specific cases themselves. |
@mbenford you may be right that there isn't the one solution. An approach could be to provide something like |
I'm also dealing with the same issue with Cyrillic keyboard as @KostyaTretyak. In Cyrillic keycode 188 is for the letter, and comma has keycode 191(? symbol at latin keyboard ). So when I press letter with code 188 new tag is created. @mbenford comma is comma on each keyboard. I think the solution is to use ',' symbol instead of keycode. P.S. Tried other tag libs, they handle such situation normally. |
I think that priority must be high! |
same here, letter 'б' won't press, you can type your tag somewhere else, copy and paste it into tags input and it accepts it, so it has nothing to do with the character itself (well, obviously). |
This issue was selected to be spring-cleaned by a script. More information can be found here. If anyone thinks this was a mistake and this issue should be reopened, please leave a message below explaining why. Before doing so, please consider reading the CONTRIBUTING file. |
That's because
<
also has the keycode 188The text was updated successfully, but these errors were encountered: