Add support for delete key
This commit is contained in:
parent
6eafd74849
commit
d8b8b9c88d
|
@ -125,7 +125,9 @@
|
|||
}
|
||||
|
||||
checkForBackspace(e) {
|
||||
if (e.keyCode === 8) {
|
||||
// 8 = Backspace Key
|
||||
// 46 = Delete Key
|
||||
if (e.keyCode === 8 || e.keyCode === 46) {
|
||||
// Reposition dropdown so that it is aligned with cursor
|
||||
this.dropdownManager.updateCurrentDropdownOffset();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue