ios: keyboard dismissal behavior

This commit is contained in:
2026-05-09 20:49:27 -07:00
parent ac6d55f617
commit 5855b7edb8
2 changed files with 6 additions and 3 deletions

View File

@@ -219,6 +219,11 @@ struct SybilQuickQuestionView: View {
} }
private func submitQuestion() { private func submitQuestion() {
guard viewModel.canSendQuickQuestion else {
return
}
promptFocused = false
_ = viewModel.sendQuickQuestion() _ = viewModel.sendQuickQuestion()
} }
} }

View File

@@ -703,9 +703,7 @@ struct SybilWorkspaceView: View {
} }
#if !targetEnvironment(macCatalyst) #if !targetEnvironment(macCatalyst)
if !viewModel.isSearchMode {
composerFocused = false composerFocused = false
}
#endif #endif
Task { Task {