fix: kinda fixed a visual bug

This commit is contained in:
Alzalia 2025-08-08 20:13:41 +02:00
parent 3fc0f8df16
commit 72fd0b66a9

View file

@ -42,7 +42,11 @@ class _OwnerPopupState extends State<OwnerPopup> {
SizedBox(height: 5),
(showNewOwner || widget.viewModel.owners!.isEmpty)
? SizedBox()
: DropdownMenu<Owner>(
: SingleChildScrollView(
padding: EdgeInsets.only(
bottom: MediaQuery.of(context).viewInsets.bottom,
),
child: DropdownMenu<Owner>(
enableFilter: true,
controller: searchController,
label: Text("Rechercher un·e propriétaire"),
@ -69,6 +73,7 @@ class _OwnerPopupState extends State<OwnerPopup> {
},
enableSearch: true,
),
),
(!showNewOwner)
? SizedBox()
: Form(