feat(GODT-2787): Force Scrollview to top when re-opening questions set.
This commit is contained in:
parent
12183fbf05
commit
a46533dcf2
|
@ -35,6 +35,7 @@ Item {
|
|||
}
|
||||
function showBugQuestion() {
|
||||
bugQuestion.setCategoryId(root.categoryId);
|
||||
bugQuestion.positionViewAtBegining();
|
||||
bugReportFlow.currentIndex = 1;
|
||||
}
|
||||
function showBugReport() {
|
||||
|
|
|
@ -30,6 +30,9 @@ Item {
|
|||
property bool fillHeight: false
|
||||
default property alias items: content.children
|
||||
|
||||
function positionViewAtBegining() {
|
||||
scrollView.ScrollBar.vertical.position = 0
|
||||
}
|
||||
signal back
|
||||
|
||||
ScrollView {
|
||||
|
|
Loading…
Reference in New Issue