Skip to content

Commit

Permalink
Close keyboard on text field outside tap
Browse files Browse the repository at this point in the history
  • Loading branch information
eshfield committed Jul 17, 2024
1 parent c592897 commit 88d1abb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/presentation/widgets/app_text_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class AppTextField extends StatelessWidget {
),
minLines: minLines,
maxLines: maxLines,
onTapOutside: (_) => FocusScope.of(context).unfocus(),
style: context.appTextStyles.body.copyWith(
color: context.appColors.labelPrimary,
),
Expand Down

0 comments on commit 88d1abb

Please sign in to comment.