flutter_typeahead icon indicating copy to clipboard operation
flutter_typeahead copied to clipboard

Recent merge breaks functionality

Open bagintz opened this issue 2 years ago • 1 comments

https://github.com/AbdulRahmanAlHamali/flutter_typeahead/pull/395

This disables the programatic use of SuggestionBoxController .close() method. If you set hideSuggestionsOnKeyboardHide to false, it will never close. A suggested fix would be to add some sort of way to allow the SuggestionBoxController .close() method to bypass the hideSuggestionsOnKeyboardHide if called programatically.

Our use case is that some of our users need to close the keyboard to view the suggestions and we gave a programatic way to close the suggestions after they were done.

bagintz avatar May 23 '22 21:05 bagintz

I am facing the same issue

ritikjainx avatar May 24 '22 08:05 ritikjainx