make memories always scrollable (#1670)

This commit is contained in:
Vishnu Mohandas 2024-01-22 11:05:19 +05:30 committed by GitHub
commit 33976ee8a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -91,7 +91,9 @@ class _MemoriesWidgetState extends State<MemoriesWidget> {
return SizedBox(
height: _maxHeight,
child: ListView.builder(
physics: const BouncingScrollPhysics(),
physics: const AlwaysScrollableScrollPhysics(
parent: BouncingScrollPhysics(),
),
scrollDirection: Axis.horizontal,
controller: _controller,
itemCount: collatedMemories.length,