fix: keyboard close on modal opens

This commit is contained in:
cogwheel0
2025-09-08 01:15:31 +05:30
parent c78d1448b8
commit 30fc460d08
3 changed files with 56 additions and 1 deletions

View File

@@ -36,6 +36,9 @@ final prefilledInputTextProvider = StateProvider<String?>((ref) => null);
// Trigger to request focus on the chat input (increment to signal)
final inputFocusTriggerProvider = StateProvider<int>((ref) => 0);
// Whether the chat composer currently has focus
final composerHasFocusProvider = StateProvider<bool>((ref) => false);
class ChatMessagesNotifier extends StateNotifier<List<ChatMessage>> {
final Ref _ref;
StreamSubscription? _messageStream;