scroll up on post change
This commit is contained in:
parent
927474261e
commit
6968d8ed0e
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ ScrollView {
|
||||||
|
|
||||||
onCurrentItemChanged: {
|
onCurrentItemChanged: {
|
||||||
item.content.post = server.posts[currentIndex]
|
item.content.post = server.posts[currentIndex]
|
||||||
|
content.flickableItem.contentY = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue