diff --git a/commet/lib/ui/pages/main/main_page_view_mobile.dart b/commet/lib/ui/pages/main/main_page_view_mobile.dart index 17102ccc..887642e3 100644 --- a/commet/lib/ui/pages/main/main_page_view_mobile.dart +++ b/commet/lib/ui/pages/main/main_page_view_mobile.dart @@ -319,16 +319,19 @@ class _MainPageViewMobileState extends State { onTap: clearSelectedRoom, ), Expanded( - child: SpaceViewer( - widget.state.currentSpace!, - key: ValueKey( - "space-view-key-${widget.state.currentSpace!.localId}"), - onChildAdded: widget.state.clientManager.onSpaceAdded, - onChildRemoved: widget.state.clientManager.onSpaceRemoved, - onChildUpdated: widget.state.clientManager.onSpaceUpdated.stream, - onRoomSelected: (room) async { - selectRoom(room); - }, + child: SingleChildScrollView( + child: SpaceViewer( + widget.state.currentSpace!, + key: ValueKey( + "space-view-key-${widget.state.currentSpace!.localId}"), + onChildAdded: widget.state.clientManager.onSpaceAdded, + onChildRemoved: widget.state.clientManager.onSpaceRemoved, + onChildUpdated: + widget.state.clientManager.onSpaceUpdated.stream, + onRoomSelected: (room) async { + selectRoom(room); + }, + ), )), ], ),