@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/lib/SelectBox.js CHANGED
@@ -2237,7 +2237,9 @@ class SelectBox {
2237
2237
  break;
2238
2238
 
2239
2239
  default:
2240
- if (p.allowTypeToSelect) {
2240
+ if (dropList.isVisible()) {
2241
+ dropList._keydownFreeType(evt, false);
2242
+ } else if (p.allowTypeToSelect) {
2241
2243
  dropList._keydownFreeType(evt, true);
2242
2244
  } else {
2243
2245
  this.openList();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielgindi/selectbox",
3
- "version": "2.0.38",
3
+ "version": "2.0.39",
4
4
  "description": "A collection of dom utilities. So you can work natively with the dom without dom frameworks.",
5
5
  "main": "dist/lib.cjs.min.js",
6
6
  "module": "lib/index.js",