Unsolved QML keyboard pushes screen upward, thus hide header bar
-
i'm writing a chat screen using qml. currently, the TextArea is at the bottom of the screen, so when it is active, a QML keyboard will appears, and pushes the whole screen upward, so that the TextArea remain visible and not hidden by the keyboard
(picture: https://drive.google.com/file/d/0B6ZI4g3F2MLOSXB2RjBDbGNEWEk/edit)
now the problem is, since the keyboard pushes the whole screen upward, the header bar will disappear as well. (also as specified in this stack overflow question https://stackoverflow.com/questions/34716462/ios-sometimes-keyboard-pushes-up-the-whole-qml-page)
how can i stop this behavior? even if i modify the position of the header bar in accordance with the height of the input, it takes some delay to move the header bar to the appropriate position. I don't want any delay