mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-23 07:52:22 +02:00
Resolve broken text
This commit is contained in:
parent
afd47f9b12
commit
dbbcadba88
|
@ -333,12 +333,17 @@ describe('Choices', () => {
|
||||||
this.choices.input.focus();
|
this.choices.input.focus();
|
||||||
|
|
||||||
// Key down to second choice
|
// Key down to second choice
|
||||||
this.choices._onKeyDown({
|
let count = 0;
|
||||||
target: this.choices.input,
|
while (count < 2) {
|
||||||
keyCode: 40,
|
console.log('keydown');
|
||||||
ctrlKey: false,
|
this.choices._onKeyDown({
|
||||||
preventDefault: () => {}
|
target: this.choices.input,
|
||||||
});
|
keyCode: 40,
|
||||||
|
ctrlKey: false,
|
||||||
|
preventDefault: () => {}
|
||||||
|
});
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
|
||||||
// Key down to select choice
|
// Key down to select choice
|
||||||
this.choices._onKeyDown({
|
this.choices._onKeyDown({
|
||||||
|
|
Loading…
Reference in a new issue