@danielgindi/selectbox 1.0.104 → 1.0.105

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.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @danielgindi/selectbox 1.0.104
2
+ * @danielgindi/selectbox 1.0.105
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  'use strict';
@@ -10073,7 +10073,9 @@ var SelectBox = /*#__PURE__*/function () {
10073
10073
  entry.borderBoxSize[0].inlineSize !== lastSize.borderBoxSize.inlineSize ||
10074
10074
  entry.contentBoxSize[0].blockSize !== lastSize.contentBoxSize.blockSize ||
10075
10075
  entry.contentBoxSize[0].inlineSize !== lastSize.contentBoxSize.inlineSize) {
10076
+ p.resizeObserver.unobserve(p.el);
10076
10077
  _this._resizeInput();
10078
+ requestAnimationFrame(function () {return p.resizeObserver.observe(p.el);});
10077
10079
  }
10078
10080
 
10079
10081
  lastSize.borderBoxSize = entry.borderBoxSize[0];