@@ -51,6 +51,11 @@ LocalComponents.Page {
5151 anchors.rightMargin: parent.rightMargin
5252 anchors.topMargin: customMargin
5353
54+ height: contentHeight - buttonBarHeight - Qt.inputMethod.keyboardRectangle.height - titleRectHeight
55+ contentHeight: childrenRect.height
56+
57+ Behavior on contentY { UbuntuNumberAnimation{} }
58+
5459 // name
5560 Label {
5661 id: nameLabel
@@ -70,6 +75,11 @@ LocalComponents.Page {
7075 anchors.topMargin: units.gu(1)
7176 inputMethodHints: Qt.ImhNoPredictiveText
7277 onAccepted: surnameInput.forceActiveFocus()
78+ onActiveFocusChanged: {
79+ if (activeFocus && Qt.inputMethod.visible) {
80+ column.contentY = nameLabel.y
81+ }
82+ }
7383 }
7484
7585 // surname
@@ -93,6 +103,11 @@ LocalComponents.Page {
93103 anchors.topMargin: units.gu(1)
94104 inputMethodHints: Qt.ImhNoPredictiveText
95105 onAccepted: d.advance()
106+ onActiveFocusChanged: {
107+ if (activeFocus && Qt.inputMethod.visible) {
108+ column.contentY = surnameLabel.y
109+ }
110+ }
96111 }
97112 }
98113