TextInput cursor position

  • I'm using TextInput.
    Setting cursor position by mouse click seems to work fine. (Selection is off, selectByMouse: false)
    However when holding down the mouse and moving over the TextInput the cursor position is not updated.

    I checked the source code: qquicktextinput.cpp

    void QQuickTextInput::mouseMoveEvent(QMouseEvent *event)

    if (d->selectPressed) {
        // ...
    } else {


    It seems there is no relevant implementation for that. Wondering why ; )

    Anyone know a workaround for this?


Log in to reply