My keyboard keeps covering the dropdown list for the suggestions, this is a issue as the user can't see the suggestions unless they scroll the main listview down.
I've tried everything and multiple stacoverflows for hours, but my keyboard keeps covering the dropdown.
In the end, I now have
resizeToAvoidBottomInset: true,
In the scaffold, as it makes my other fields work. I've tried it off and with other solutions.
I also noticed .up direction is not working, but it is a open flutter issue:
Hello,
My keyboard keeps covering the dropdown list for the suggestions, this is a issue as the user can't see the suggestions unless they scroll the main listview down.
I've tried everything and multiple stacoverflows for hours, but my keyboard keeps covering the dropdown.
In the end, I now have
resizeToAvoidBottomInset: true,
In the scaffold, as it makes my other fields work. I've tried it off and with other solutions.I also noticed .up direction is not working, but it is a open flutter issue:
https://github.com/flutter/flutter/issues/147483
So I can't even make it go up.
My only temporary fix is to put it at the top of my screen to give some space below, which gives bad UX, and barely works on smaller phones.
Is anyone else experiencing this issue? Any ideas where I can start?
Pasting my main file with scaffold, and then my code for the autocomplete below.
class AddAdvicePage extends StatefulWidget { const AddAdvicePage({super.key});
static Page page() => const MaterialPage(child: AddAdvicePage());
static Route route() {
return MaterialPageRoute(builder: (_) => const AddAdvicePage());
}
@override State createState() => _AddAdvicePageState();
}
class _AddAdvicePageState extends State {
final scrollController = ScrollController();
Widget build(BuildContext context) { final user = context.select((AppBloc bloc) => bloc.state.user);