@@ -203,7 +203,7 @@ Item {
203203 top: titleRect.bottom
204204 left: parent.left
205205 right: parent.right
206− bottom: buttonBarVisible ? buttonRect.top : parent.top
206+ bottom: buttonBarVisible ? buttonRect.top : parent.bottom
207207 leftMargin: content.animatedMargin
208208 rightMargin: -content.animatedMargin
209209 topMargin: content.animatedTopMargin
@@ -216,10 +216,9 @@ Item {
216216 id: buttonRect
217217 visible: !lastPage && buttonBarVisible
218218 anchors {
219− bottom: parent.bottom
219+ bottom: Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.top : parent.bottom
220220 left: parent.left
221221 right: parent.right
222− bottomMargin: Qt.inputMethod.keyboardRectangle.height
223222 }
224223 height: buttonBarHeight
225224 color: "#f5f5f5"