@burtson-labs/bandit-engine 2.0.144 → 2.0.145

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 CHANGED
@@ -31539,7 +31539,11 @@ var init_chat2 = __esm({
31539
31539
  boxShadow: isMobile && mobileConversationsOpen ? `0 12px 40px ${theme.palette.mode === "dark" ? "rgba(0,0,0,0.55)" : "rgba(0,0,0,0.25)"}` : "none",
31540
31540
  transition: "left 0.3s ease-in-out, width 0.3s ease-in-out, transform 0.3s ease-in-out, border-radius 0.3s ease-in-out"
31541
31541
  }),
31542
- onClick: isMobile && mobileConversationsOpen ? () => setMobileConversationsOpen(false) : void 0,
31542
+ onClick: isMobile && mobileConversationsOpen ? (e) => {
31543
+ if (e.currentTarget.contains(e.target)) {
31544
+ setMobileConversationsOpen(false);
31545
+ }
31546
+ } : void 0,
31543
31547
  children: [
31544
31548
  /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
31545
31549
  chat_app_bar_default,