diff --git a/resources/qml/RoomMembers.qml b/resources/qml/RoomMembers.qml
index 28e999db1642898c0bcccd7e0e431965e3715278..0d957165789949c8a217916a1cd98fc789411245 100644
--- a/resources/qml/RoomMembers.qml
+++ b/resources/qml/RoomMembers.qml
@@ -114,12 +114,9 @@ ApplicationWindow {
                 }
 
                 footer: Spinner {
-                    // This is not a wonderful solution, but it is the best way to calculate whether
-                    // all users are loaded while keeping canFetchMore() const
-
-                    // TODO: just toggling the visiblity leaves some large empty space at the bottom
-                    // of the list. This should be fixed.
                     visible: members.numUsersLoaded < members.memberCount
+                    // use the default height if it's visible, otherwise no height at all
+                    height: visible ? undefined : 0
                     anchors.centerIn: parent
                 }
             }