Prevent overscroll on the search suggestions
This commit is contained in:
parent
300508305c
commit
1b308a8704
|
@ -39,6 +39,7 @@ class SearchSuggestionsWidget extends StatelessWidget {
|
|||
maxHeight: MediaQuery.of(context).size.height * 0.5,
|
||||
),
|
||||
child: ListView.builder(
|
||||
physics: const ClampingScrollPhysics(),
|
||||
shrinkWrap: true,
|
||||
itemCount: results.length + 1,
|
||||
itemBuilder: (context, index) {
|
||||
|
|
Loading…
Reference in a new issue