Skip to content

Commit

Permalink
Merge pull request #461 from poppingmoon/timeline-unfocus
Browse files Browse the repository at this point in the history
入力欄以外をタップしたときにフォーカスを外す
  • Loading branch information
shiosyakeyakini-info authored Nov 23, 2023
2 parents 138e982 + 1f40083 commit 198f912
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/view/time_line_page/timeline_note.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class TimelineNoteFieldState extends ConsumerState<TimelineNoteField> {
maxLines: null,
controller: ref.watch(timelineNoteProvider),
decoration: noteStyle,
onTapOutside: (_) => FocusManager.instance.primaryFocus?.unfocus(),
),
);
}
Expand Down

0 comments on commit 198f912

Please sign in to comment.