worldhopper/lib/screens/browse
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Felipe M. 167a1b52f5
fix: enable pull-to-refresh on library paths with limited content
Wraps GridView.builder in LayoutBuilder with SingleChildScrollView
to ensure pull-to-refresh works even when there aren't enough items
to fill the screen and enable natural scrolling.

Changes:
- Add LayoutBuilder to get screen constraints
- Wrap GridView in SingleChildScrollView with AlwaysScrollableScrollPhysics
- Use ConstrainedBox to ensure minimum height fills the screen
- Set GridView to shrinkWrap with NeverScrollableScrollPhysics

Fixes issue where pull-to-refresh gesture was not working on feeds
with few items.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-28 21:38:48 +01:00
..
feed_screen.dart fix: enable pull-to-refresh on library paths with limited content 2026-01-28 21:38:48 +01:00
library_browser_screen.dart fix: enable pull-to-refresh on library paths with limited content 2026-01-28 21:38:48 +01:00