@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/dist/lib.es6.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @danielgindi/selectbox 2.0.40
2
+ * @danielgindi/selectbox 2.0.42
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  import { createElement, closestUntil, setElementAttrs, next, prev } from '@danielgindi/dom-utils/lib/Dom';
@@ -6658,9 +6658,9 @@ class SelectBox {
6658
6658
 
6659
6659
  this._stopTrackingPresence();
6660
6660
 
6661
- p.presenceInt = setInterval(function () {
6661
+ p.presenceInt = setInterval(() => {
6662
6662
  if (getRootNode(p.el) !== document)
6663
- this.hide();
6663
+ this.closeList();
6664
6664
  }, 200);
6665
6665
  }
6666
6666