diff --git a/imports/NeoChat/Panel/RoomDrawer.qml b/imports/NeoChat/Panel/RoomDrawer.qml index cfd73c807..1ee556a7a 100644 --- a/imports/NeoChat/Panel/RoomDrawer.qml +++ b/imports/NeoChat/Panel/RoomDrawer.qml @@ -157,6 +157,16 @@ Kirigami.OverlayDrawer { } } + Pane { + padding: Kirigami.Units.smallSpacing + implicitWidth: parent.width + z: 2 + contentItem: Kirigami.SearchField { + id: userListSearchField + onAccepted: sortedMessageEventModel.filterString = text; + } + } + ScrollView { Layout.fillWidth: true Layout.fillHeight: true @@ -168,16 +178,6 @@ Kirigami.OverlayDrawer { boundsBehavior: Flickable.DragOverBounds activeFocusOnTab: true - header: Pane { - padding: Kirigami.Units.smallSpacing - implicitWidth: parent.width - z: 2 - contentItem: Kirigami.SearchField { - id: userListSearchField - onTextChanged: sortedMessageEventModel.filterString = text; - } - } - model: KSortFilterProxyModel { id: sortedMessageEventModel