@danielgindi/selectbox 1.0.81 → 1.0.83

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
@@ -1899,6 +1899,13 @@ class SelectBox {
1899
1899
  },
1900
1900
  });
1901
1901
 
1902
+ p.sink.add(dropList.el, 'mousedown', (event) => {
1903
+ const li = closestUntil(event.target, 'li', event.currentTarget);
1904
+ if (!li) return;
1905
+
1906
+ event.preventDefault();
1907
+ });
1908
+
1902
1909
  this._registerDropdownEvents();
1903
1910
  }
1904
1911
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielgindi/selectbox",
3
- "version": "1.0.81",
3
+ "version": "1.0.83",
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",