We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 984927a commit 4378fc5Copy full SHA for 4378fc5
src/compiler/codegen/events.js
@@ -22,10 +22,11 @@ const keyNames: { [key: string]: string | Array<string> } = {
22
tab: 'Tab',
23
enter: 'Enter',
24
space: ' ',
25
- up: 'ArrowUp',
26
- left: 'ArrowLeft',
27
- right: 'ArrowRight',
28
- down: 'ArrowDown',
+ // #7806: IE11 uses key names without `Arrow` prefix for arrow keys.
+ up: ['Up', 'ArrowUp'],
+ left: ['Left', 'ArrowLeft'],
+ right: ['Right', 'ArrowRight'],
29
+ down: ['Down', 'ArrowDown'],
30
'delete': ['Backspace', 'Delete']
31
}
32
0 commit comments