flutter_typeahead icon indicating copy to clipboard operation
flutter_typeahead copied to clipboard

DropDown Hidden by Keyboard

Open AnuPrajapati opened this issue 3 years ago • 5 comments

When there is multiple feild--TextField and the dropdown is at the bottom of the page, Then there we found the issue that, the keyboard just hide all the items listed in dropdown. As the user have to scroll up which look inconvenient. image

AnuPrajapati avatar Oct 04 '21 07:10 AnuPrajapati

My suggestion to this is using suggestionsBoxVerticalOffset with a negative value to put the suggestions on top of your input box.

mariusschroeter avatar Nov 11 '21 15:11 mariusschroeter

This problem can be solved by: direction: AxisDirection.up

Which change direction of showed suggestions:

image

mjablecnik avatar Nov 12 '21 20:11 mjablecnik

I came here with the exact same problem. This would ideally be solved by being compatible with showSearch

Example of using showSearch

ktravelet avatar Nov 13 '21 00:11 ktravelet

My suggestion to this is using suggestionsBoxVerticalOffset with a negative value to put the suggestions on top of your input box.

Can you explain a bit more?

vmkgalvatron avatar Nov 19 '21 10:11 vmkgalvatron

It would be great to have direction be handled by the widget itself if not provided. It would use AxisDirection.up only if there's more space up then there is down (taking the keyboard into account).

TheCarpetMerchant avatar May 08 '22 11:05 TheCarpetMerchant