We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b37bf1f commit 7914836Copy full SHA for 7914836
2 files changed
docs/content.en/docs/release-notes/_index.md
@@ -11,12 +11,11 @@ Information about release notes of Coco Server is provided here.
11
12
### ❌ Breaking changes
13
14
-
15
### 🚀 Features
16
17
18
### 🐛 Bug fix
19
+- fix: correct enter key behavior #828
20
21
### ✈️ Improvements
22
src/components/Search/AssistantManager.tsx
@@ -135,12 +135,13 @@ export function useAssistantManager({
135
}
136
137
if (key === "Enter" && !shiftKey) {
138
- if (!isEmpty(value)) {
139
- e.stopPropagation();
140
- }
141
e.preventDefault();
142
143
if (isTauri && !isChatMode && goAskAi) {
+ if (!isEmpty(value)) {
+ e.stopPropagation();
+ }
144
+
145
return handleAskAi();
146
147
0 commit comments