@danielgindi/selectbox 2.0.40 → 2.0.42

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
@@ -3348,9 +3348,9 @@ class SelectBox {
3348
3348
 
3349
3349
  this._stopTrackingPresence();
3350
3350
 
3351
- p.presenceInt = setInterval(function () {
3351
+ p.presenceInt = setInterval(() => {
3352
3352
  if (getRootNode(p.el) !== document)
3353
- this.hide();
3353
+ this.closeList();
3354
3354
  }, 200);
3355
3355
  }
3356
3356
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielgindi/selectbox",
3
- "version": "2.0.40",
3
+ "version": "2.0.42",
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",