Skip to content

Key Code of NINE is wrong #9567

@VangelisAlSghir

Description

@VangelisAlSghir

Bug, feature request, or proposal:

Bug

What is the expected behavior?

If I call NINE from @angular/cdk/keycodes, I expect 57

What is the current behavior?

If I call NINE from @angular/cdk/keycodes, I get 91

What are the steps to reproduce?

Just compare the table of key codes here: https://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes

with the key codes here: https://github.com/angular/cdk-builds/blob/master/keycodes/typings/keycodes.d.ts

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Is there anything else we should know?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions