Update 2-ui/3-event-details/7-keyboard-events/article.md
Co-authored-by: Vse Mozhe Buty <vsemozhetbyt@gmail.com>
This commit is contained in:
parent
8c7b9817e8
commit
9f2d2005a4
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ There were so many browser incompatibilities while working with them, that devel
|
|||
|
||||
## Mobile Keyboards
|
||||
|
||||
When using virtual/mobile keyboards, formally know as IME (Input-Method Editor), the W3C standard states that a KeyboardEvent's [`e.keyCode` should be `229`](https://www.w3.org/TR/uievents/#determine-keydown-keyup-keyCode) and [`e.key` should be `"Unidentified"`](https://www.w3.org/TR/uievents-key/#key-attr-values).
|
||||
When using virtual/mobile keyboards, formally known as IME (Input-Method Editor), the W3C standard states that a KeyboardEvent's [`e.keyCode` should be `229`](https://www.w3.org/TR/uievents/#determine-keydown-keyup-keyCode) and [`e.key` should be `"Unidentified"`](https://www.w3.org/TR/uievents-key/#key-attr-values).
|
||||
|
||||
While some of these keyboards might still use the right values for `e.key`, `e.code`, `e.keyCode`... when pressing certain keys such as arrows or backspace, there's no guarantee, so your keyboard logic might not always work on mobile devices.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue