TF-1296 Improve auto suggestion is still slow response

This commit is contained in:
dab246
2023-01-16 15:49:31 +07:00
committed by Dat H. Pham
parent cd04a1b8d0
commit d5b61a2a7d
3 changed files with 7 additions and 27 deletions
@@ -86,6 +86,7 @@ class _AutocompleteContactTextFieldWithTagsState extends State<AutocompleteConta
tagSpacing: BuildUtils.isWeb ? 12 : 8,
autofocus: false,
minTextFieldWidth: 20,
debounceDuration: const Duration(milliseconds: 150),
resetTextOnSubmitted: true,
suggestionsBoxBackgroundColor: Colors.white,
suggestionsBoxRadius: 16,