Skip to content
Snippets Groups Projects
Commit 58031af3 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

messagelistview: hide "Scroll to end" after click

When scrolling up and clicking on "Scroll to end", sometimes, the
button didn't update correctly. Using contentY = 0 seems to be correct

Change-Id: I04576181d0b61006d4389be6ace3b09c1ac0a2f9
parent 2baf76e7
No related branches found
No related tags found
No related merge requests found
......@@ -286,8 +286,7 @@ JamiListView {
anchors.horizontalCenter: root.horizontalCenter
activeStateTrigger: Math.abs(root.contentY) > root.height * 2
onClicked: root.ScrollBar.vertical.position =
1.0 - root.ScrollBar.vertical.size
onClicked: root.contentY = 0
}
header: Control {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment