Refocus outer container when dropdown is closed via escape key

This commit is contained in:
Marshall Adams 2017-05-30 11:35:34 -07:00
parent 3b203d892b
commit c3166d6e60

View file

@ -1469,6 +1469,7 @@ class Choices {
const onEscapeKey = () => {
if (hasActiveDropdown) {
this.toggleDropdown();
this.containerOuter.focus();
}
};