Skip to content

High performance self-hosted photo and video management solution.

fix: resize map after scroll (#29112)

shenlong10fddf2d5161
diff --git a/mobile/lib/presentation/widgets/bottom_sheet/map_bottom_sheet.widget.dart b/mobile/lib/presentation/widgets/bottom_sheet/map_bottom_sheet.widget.dart
index f905940c5e..945bdc9584 100644
--- a/mobile/lib/presentation/widgets/bottom_sheet/map_bottom_sheet.widget.dart
+++ b/mobile/lib/presentation/widgets/bottom_sheet/map_bottom_sheet.widget.dart
@@ -23,7 +23,9 @@ class MapBottomSheet extends StatelessWidget {
resizeOnScroll: false,
actions: [],
backgroundColor: context.themeData.colorScheme.surface,
- slivers: [const SliverFillRemaining(hasScrollBody: true, child: _ScopedMapTimeline())],
+ slivers: [
+ const SliverFillRemaining(hasScrollBody: false, child: SizedBox(height: 0, child: _ScopedMapTimeline())),
+ ],
);
}
}