Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML keyboard pushes screen upward, thus hide header bar
Qt 6.11 is out! See what's new in the release blog

QML keyboard pushes screen upward, thus hide header bar

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 479 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vudangkhoa2906
    wrote on last edited by vudangkhoa2906
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved