@danielgindi/selectbox 2.0.38 → 2.0.39

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.es6.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @danielgindi/selectbox 2.0.38
2
+ * @danielgindi/selectbox 2.0.39
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  import { createElement, closestUntil, setElementAttrs, next, prev } from '@danielgindi/dom-utils/lib/Dom';
@@ -5547,7 +5547,9 @@ class SelectBox {
5547
5547
  break;
5548
5548
 
5549
5549
  default:
5550
- if (p.allowTypeToSelect) {
5550
+ if (dropList.isVisible()) {
5551
+ dropList._keydownFreeType(evt, false);
5552
+ } else if (p.allowTypeToSelect) {
5551
5553
  dropList._keydownFreeType(evt, true);
5552
5554
  } else {
5553
5555
  this.openList();