mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: remove keyboard when tap outside text field (#4235)
This commit is contained in:
@ -85,6 +85,11 @@ class _GroupCardHeaderState extends State<GroupCardHeader> {
|
||||
),
|
||||
maxLines: 1,
|
||||
style: titleTextStyle,
|
||||
onTapOutside: (_) => context.read<BoardBloc>().add(
|
||||
// group header switch from TextField to Text
|
||||
// group name won't be changed
|
||||
BoardEvent.endEditingHeader(widget.groupData.id, null),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user