(select-one) fix : keep focus after item is selected

This commit is contained in:
Simon Babay 2016-08-01 16:48:40 +02:00
parent 4e2b330659
commit c18b9f81e4

View file

@ -554,6 +554,11 @@ export class Choices {
console.error('callbackOnChange: Callback is not a function');
}
}
// Keep focus on select-one element
if(this.passedElement.type === 'select-one'){
this.containerOuter.focus();
}
}
/**