@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.umd.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
  (function (global, factory) {
@@ -3919,6 +3919,8 @@
3919
3919
  itemElement: itemElement,
3920
3920
  droplist: droplist
3921
3921
  };
3922
+
3923
+ droplist.el.focus();
3922
3924
  }
3923
3925
 
3924
3926
  _hideSublist() {
@@ -4314,7 +4316,7 @@
4314
4316
  this._showSublist(item, p.focusItemEl);
4315
4317
  } else {
4316
4318
  if (p.currentSubDropList) {
4317
- p.currentSubDropList.hide();
4319
+ this._hideSublist();
4318
4320
  preventDefault = false;
4319
4321
  }
4320
4322
  }