Skip to content

Commit

Permalink
[Presentation] Remove the focus from the common_dropdown_button.dart …
Browse files Browse the repository at this point in the history
…on tap
  • Loading branch information
Wolfteam committed Apr 30, 2023
1 parent 63fb188 commit c29cc3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/presentation/shared/common_dropdown_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class CommonDropdownButton<T> 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(
Expand Down

0 comments on commit c29cc3e

Please sign in to comment.