fix(desktop/membersList) hide scrollbar when inactive

The scrollbar should only be visible when scrolling
through the members list

Closes #3557
This commit is contained in:
Alexandra Betouni 2021-09-21 16:13:17 +03:00 committed by Iuri Matias
parent 75f00e5de0
commit 63b2bf703c
2 changed files with 6 additions and 2 deletions

View File

@ -37,7 +37,9 @@ Item {
ListView {
id: userListView
clip: true
ScrollBar.vertical: ScrollBar { }
ScrollBar.vertical: ScrollBar {
policy: ScrollBar.AsNeeded
}
anchors {
left: parent.left
top: titleText.bottom

View File

@ -39,7 +39,9 @@ Item {
ListView {
id: userListView
clip: true
ScrollBar.vertical: ScrollBar { }
ScrollBar.vertical: ScrollBar {
policy: ScrollBar.AsNeeded
}
anchors {
top: titleText.bottom
topMargin: Style.current.padding