@assistant-ui/react 0.5.29 → 0.5.30

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
@@ -1577,6 +1577,7 @@ var ComposerPrimitiveInput = _react.forwardRef.call(void 0,
1577
1577
  });
1578
1578
  const handleKeyPress = (e) => {
1579
1579
  if (isDisabled) return;
1580
+ if (e.nativeEvent.isComposing) return;
1580
1581
  if (e.key === "Enter" && e.shiftKey === false) {
1581
1582
  const { isRunning } = useThread.getState();
1582
1583
  if (!isRunning) {