fix(mobile): make search page scrollable (#14228)

Fixes #13657
This commit is contained in:
John Stef 2024-11-19 19:59:26 +02:00 committed by GitHub
parent b66c53bef3
commit 53940f7d42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -661,9 +661,10 @@ class SearchEmptyContent extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return ListView( return NotificationListener<ScrollNotification>(
shrinkWrap: true, onNotification: (_) => true,
physics: NeverScrollableScrollPhysics(), child: ListView(
shrinkWrap: false,
children: [ children: [
SizedBox(height: 40), SizedBox(height: 40),
Center( Center(
@ -684,6 +685,7 @@ class SearchEmptyContent extends StatelessWidget {
SizedBox(height: 32), SizedBox(height: 32),
QuickLinkList(), QuickLinkList(),
], ],
),
); );
} }
} }