Skip to content

Commit

Permalink
Fix flicker: hide autosuggestion box while loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ok300 committed Oct 11, 2023
1 parent 2aa72dd commit 44c231f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class RestoreFormPageState extends State<RestoreForm> {
validator: (text) => _onValidate(context, text!),
suggestionsCallback: _getSuggestions,
hideOnEmpty: true,
hideOnLoading: true,
autoFlipDirection: true,
suggestionsBoxDecoration: const SuggestionsBoxDecoration(
color: Colors.white,
Expand Down

0 comments on commit 44c231f

Please sign in to comment.