From c29cc3ee6ccdc76fca5842f5563a250051cd8702 Mon Sep 17 00:00:00 2001 From: Efrain Bastidas Date: Sun, 30 Apr 2023 00:37:11 -0500 Subject: [PATCH] [Presentation] Remove the focus from the common_dropdown_button.dart on tap --- lib/presentation/shared/common_dropdown_button.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/presentation/shared/common_dropdown_button.dart b/lib/presentation/shared/common_dropdown_button.dart index 6c4931d5d..ebef9d9fa 100644 --- a/lib/presentation/shared/common_dropdown_button.dart +++ b/lib/presentation/shared/common_dropdown_button.dart @@ -34,6 +34,7 @@ class CommonDropdownButton extends StatelessWidget { color: Colors.transparent, ) : null, + onTap: () => FocusScope.of(context).requestFocus(FocusNode()), onChanged: onChanged != null ? (v) => onChanged!(v as T, context) : null, selectedItemBuilder: (context) => values .map(