@bloomreach/react-banana-ui 1.8.2 → 1.8.3

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.
@@ -6315,7 +6315,7 @@ const y1 = c((e, t) => {
6315
6315
  x,
6316
6316
  b,
6317
6317
  C
6318
- ]), P = I1(() => ve([p.setReference, r.props.ref]), [
6318
+ ]), P = I1(() => ve([p.setReference, r.ref]), [
6319
6319
  p.setReference,
6320
6320
  r
6321
6321
  ]), F = I1(() => ve([p.setFloating, t]), [
@@ -6532,7 +6532,17 @@ const rf = c(
6532
6532
  disabledItemsFocusable: !1,
6533
6533
  listboxRef: t
6534
6534
  }), f = s(), m = t0("rbui-menu-content", o);
6535
- return /* @__PURE__ */ a(w2, { value: i, children: /* @__PURE__ */ a(w1, { open: u, keepMounted: !0, anchor: h, placement: l, middleware: [ie(4), p1()], children: /* @__PURE__ */ a("ul", { ...f, className: m, ref: d, children: r }) }) });
6535
+ return /* @__PURE__ */ a(w2, { value: i, children: /* @__PURE__ */ a(
6536
+ w1,
6537
+ {
6538
+ open: u,
6539
+ anchor: h,
6540
+ placement: l,
6541
+ middleware: [ie(4), p1()],
6542
+ style: { display: u ? "block" : "none" },
6543
+ children: /* @__PURE__ */ a("ul", { ...f, className: m, ref: d, children: r })
6544
+ }
6545
+ ) });
6536
6546
  }
6537
6547
  );
6538
6548
  rf.displayName = "MenuContent";
@@ -7020,6 +7030,7 @@ const B5 = c((e, t) => {
7020
7030
  placement: "bottom-start",
7021
7031
  role: void 0,
7022
7032
  style: {
7033
+ display: F ? "block" : "none",
7023
7034
  minWidth: (j = C.current) == null ? void 0 : j.offsetWidth
7024
7035
  },
7025
7036
  children: /* @__PURE__ */ a(