mirror of https://github.com/langgenius/dify.git
Add isComposing check at the start of handleKeyDown to ignore keyboard events during IME (Chinese/Japanese/Korean) input composition. This follows the existing pattern used in tag-management component and prevents premature form submission when users press Enter to confirm IME candidates. |
||
|---|---|---|
| .. | ||
| comment-icon.tsx | ||
| comment-input.tsx | ||
| comment-preview.tsx | ||
| cursor.tsx | ||
| index.tsx | ||
| mention-input.tsx | ||
| thread.tsx | ||