mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-17 13:06:34 +02:00
onKeyDown on containerOuter to enable keyboard navigation
This commit is contained in:
parent
1c268a1e5d
commit
994e20a4c3
|
@ -629,7 +629,7 @@ export class Choices {
|
|||
* @return
|
||||
*/
|
||||
_onKeyDown(e) {
|
||||
if(e.target !== this.input) return;
|
||||
if(e.target !== this.input && e.target !== this.containerOuter) return;
|
||||
|
||||
const ctrlDownKey = e.ctrlKey || e.metaKey;
|
||||
const backKey = 46;
|
||||
|
|
Loading…
Reference in a new issue