@ethora/chat-component 25.6.13 → 25.6.14

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/main.js CHANGED
@@ -13384,11 +13384,11 @@ const yk = T.div`
13384
13384
  }, [o, x]), de(() => {
13385
13385
  const R = t?.botMessageAutoScroll, Q = B.current;
13386
13386
  !R || !Q || Y().then(() => {
13387
- setTimeout(() => {
13387
+ f?.length > 0 && (U(), c(!1)), setTimeout(() => {
13388
13388
  U(), c(!1);
13389
13389
  }, 50);
13390
13390
  });
13391
- }, [p.length, t?.botMessageAutoScroll]);
13391
+ }, [p.length, t?.botMessageAutoScroll, f]);
13392
13392
  let O = null;
13393
13393
  return /* @__PURE__ */ S(fk, { ref: I, children: [
13394
13394
  /* @__PURE__ */ S(
@@ -13759,7 +13759,7 @@ const m4 = T.div`
13759
13759
  },
13760
13760
  [l, A, n, e]
13761
13761
  ), v = ee(() => {
13762
- n(A + r.secondarySendButton.messageEdit), o(""), c([]);
13762
+ n(r.secondarySendButton.messageEdit + A), o(""), c([]);
13763
13763
  }, [l, A, n, e]), p = ee(
13764
13764
  (I) => {
13765
13765
  I.key !== "Enter" || !(l.length > 0 || A) || (r?.secondarySendButton?.overwriteEnterClick ? v() : w());