@danielgindi/selectbox 1.0.126 → 1.0.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @danielgindi/selectbox 1.0.126
2
+ * @danielgindi/selectbox 1.0.128
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  'use strict';
@@ -3923,6 +3923,8 @@ class DropList {
3923
3923
  itemElement: itemElement,
3924
3924
  droplist: droplist
3925
3925
  };
3926
+
3927
+ droplist.el.focus();
3926
3928
  }
3927
3929
 
3928
3930
  _hideSublist() {
@@ -4318,7 +4320,7 @@ class DropList {
4318
4320
  this._showSublist(item, p.focusItemEl);
4319
4321
  } else {
4320
4322
  if (p.currentSubDropList) {
4321
- p.currentSubDropList.hide();
4323
+ this._hideSublist();
4322
4324
  preventDefault = false;
4323
4325
  }
4324
4326
  }