Skip to content

Commit

Permalink
Add a bit of padding to not hide autocomplete options
Browse files Browse the repository at this point in the history
  • Loading branch information
adzialocha committed May 30, 2024
1 parent 3dafb7e commit e1fbcaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/app/lib/ui/widgets/autocomplete.dart
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ class _MeliAutocompleteState extends State<MeliAutocomplete> {
autofocus: widget.autofocus,
onChanged: _onChanged,
onEditingComplete: _onSubmit,
// Scroll down a bit more to make sure the keyboard doesn't hide
// the autocomplete options
scrollPadding: const EdgeInsets.only(bottom: 200.0),
decoration: InputDecoration(
suffixIcon: _isLoading
? Transform.scale(
Expand Down

0 comments on commit e1fbcaf

Please sign in to comment.