Textfield loses focus (hides the VKB) when pressed

  • Hi,

    I have a question why the VKB hides (when press) and shows up when released on the textfield to change the cursor position.

    I can't find any signal or property to maintain its focus once clicking on it so that the VKB never hides.

    Please advice. TIA.

  • Hi bumping this thread.

    I have this code.

     TextInput {
        id: textInput
        MouseArea { 
          onClicked: { textInput.forceActiveFocus(); }

    Once i pressed on the text input, the vkb hides and shows up upon released.

    I wanted not to hide the vkb since the textInput is still active.

  • Did someone experienced this also? Please advise. Thanks.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.