From 9cc666d13e35f25853500c461fed9c5feb2eb22a Mon Sep 17 00:00:00 2001 From: Oliver <oliver.henry.walters@gmail.com> Date: Tue, 13 Jun 2023 19:58:41 +1000 Subject: [PATCH] Fix bug when list of tiles flows off screen (#370) - Reimplement scrolling behaviour --- assets/release_notes.md | 2 +- lib/widget/refreshable_state.dart | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/release_notes.md b/assets/release_notes.md index 2a843ce8..2468ee4e 100644 --- a/assets/release_notes.md +++ b/assets/release_notes.md @@ -4,7 +4,7 @@ - Adds options for configuring screen orientation - Improvements to barcode scanning - Translation updates - +- Bug fix for scrolling long lists ### 0.12.1 - May 2023 diff --git a/lib/widget/refreshable_state.dart b/lib/widget/refreshable_state.dart index 7d2eb348..97d42bd3 100644 --- a/lib/widget/refreshable_state.dart +++ b/lib/widget/refreshable_state.dart @@ -39,8 +39,10 @@ mixin BaseWidgetProperties { Widget getBody(BuildContext context) { // Default body calls getTiles() - return Column( - children: getTiles(context) + return SingleChildScrollView( + child: Column( + children: getTiles(context) + ) ); }