@nivaro/react 0.1.41 → 0.1.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/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13457,8 +13457,9 @@ function Ry({
|
|
|
13457
13457
|
if (Ee(() => {
|
|
13458
13458
|
if (!s) return;
|
|
13459
13459
|
const b = (h) => {
|
|
13460
|
-
var
|
|
13461
|
-
|
|
13460
|
+
var _, g;
|
|
13461
|
+
const O = h.target;
|
|
13462
|
+
(_ = O == null ? void 0 : O.closest) != null && _.call(O, '[data-radix-popper-content-wrapper], [role="listbox"]') || (g = c.current) != null && g.contains(h.target) || l(!1);
|
|
13462
13463
|
};
|
|
13463
13464
|
return window.addEventListener("mousedown", b), () => window.removeEventListener("mousedown", b);
|
|
13464
13465
|
}, [s]), !f || !p) return null;
|