x-ui-design 0.9.64 → 0.9.65

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/index.esm.js CHANGED
@@ -2785,6 +2785,10 @@ const usePopupPosition = ({
2785
2785
  if (!open) {
2786
2786
  return;
2787
2787
  }
2788
+ if (positionObserver) {
2789
+ setPopupPosition(positionObserver);
2790
+ return;
2791
+ }
2788
2792
  const controller = new AbortController();
2789
2793
  const options = {
2790
2794
  passive: true,