Fixed at least a bit that on Android autocomplete dropdown for reference covers soft keyboard

This commit is contained in:
dankito 2024-09-26 04:51:40 +02:00
parent 3eb9c9fd95
commit ee3faa7de1
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ fun TransferMoneyDialog(
AutocompleteTextField( AutocompleteTextField(
"Verwendungszweck (optional)", "Verwendungszweck (optional)",
paymentReference, paymentReference,
dropdownMaxHeight = 250.dp, dropdownMaxHeight = 175.dp, // when showing more items than on Android autocomplete dropdown covers soft keybaord
minTextLengthForSearch = 0, minTextLengthForSearch = 0,
getItemTitle = { suggestion -> suggestion.reference }, getItemTitle = { suggestion -> suggestion.reference },
onEnteredTextChanged = { paymentReference = it }, onEnteredTextChanged = { paymentReference = it },