@danielgindi/selectbox 2.0.35 → 2.0.37

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 2.0.35
2
+ * @danielgindi/selectbox 2.0.37
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  (function (global, factory) {
@@ -9028,10 +9028,6 @@
9028
9028
  let next = p.virtualListHelper.getItemElementAt(matchIndex);
9029
9029
  this._focus(evt, next || null, matchIndex, true);
9030
9030
 
9031
- if (!this.isVisible()) {
9032
- this.triggerItemSelection(next ? null : items[matchIndex], evt);
9033
- }
9034
-
9035
9031
  // Record the last filter used
9036
9032
  p.previousFilter = keyword;
9037
9033
 
@@ -12018,6 +12014,10 @@
12018
12014
  break;
12019
12015
 
12020
12016
  default:
12017
+ if (!dropList.isVisible()) {
12018
+ this.openList();
12019
+ }
12020
+
12021
12021
  dropList._keydownFreeType(evt);
12022
12022
  break;
12023
12023
  }