hotfix(ai-scribe): fix Safari keyboard input issue in AI Scribe search bar dialog
This commit is contained in:
+3
@@ -101,6 +101,9 @@ extension HandleAiScribeInComposerExtension on ComposerController {
|
||||
}
|
||||
|
||||
Future<void> openAIAssistantModal(Offset? position, Size? size) async {
|
||||
clearFocusRecipients();
|
||||
clearFocusSubject();
|
||||
|
||||
final fullText = await _getTextOnlyContentInEditor();
|
||||
|
||||
await AiScribeModalManager.showAIScribeMenuModal(
|
||||
|
||||
+6
@@ -24,7 +24,13 @@ class ComposerAiScribeSelectionOverlay extends StatelessWidget {
|
||||
imagePaths: controller.imagePaths,
|
||||
onSelectAiScribeSuggestionAction:
|
||||
controller.handleAiScribeSuggestionAction,
|
||||
onTapFallback: _clearComposerInputFocus,
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
void _clearComposerInputFocus() {
|
||||
controller.clearFocusRecipients();
|
||||
controller.clearFocusSubject();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user