mirror of
https://github.com/run-llama/chat-ui.git
synced 2026-07-20 19:04:22 -04:00
[PR #61] [MERGED] fix: prevent message send during text composition #86
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/chat-ui/pull/61
Author: @lemorage
Created: 3/17/2025
Status: ✅ Merged
Merged: 3/19/2025
Merged by: @marcusschiesser
Base:
main← Head:fix-text-composition-input📝 Commits (3)
bff364bfix: prevent message send during text compositionb47f571Create chilly-cups-decide.mde0d17f2Update chilly-cups-decide.md📊 Changes
2 files changed (+22 additions, -4 deletions)
View changed files
➕
.changeset/chilly-cups-decide.md(+5 -0)📝
packages/chat-ui/src/chat/chat-input.tsx(+17 -4)📄 Description
Inspired by @nxnen8282's solution, this PR is aimed to fix #60, but instead of using
e.nativeEvent.isComposing, the React Composition Events is used here.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.