@contentgrowth/llm-service 1.0.9 → 1.1.1

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.
@@ -612,6 +612,7 @@ var ChatInputArea = forwardRef(({
612
612
  const before = currentVal.substring(0, selection.start);
613
613
  const after = currentVal.substring(selection.end);
614
614
  const newText = before + text + after;
615
+ pendingSelectionRef.current = { start: selection.start, end: selection.start + text.length };
615
616
  triggerChange(newText);
616
617
  lastSelectionRef.current = null;
617
618
  } else {