Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-51211

TextInput not working properly on iOS devices

XMLWordPrintable

    • iOS/tvOS/watchOS

      import QtQuick 2.5
      import QtQuick.Window 2.2
      import QtQuick.Controls 1.4
      
      Window {
          visible: true
      
          Column {
              TextField {
                  id: first
                  font.pointSize: 30
                  focus: true
                  onEditingFinished: second.focus = true
              }
              TextField {
                  id: second
                  font.pointSize: 30
                  onEditingFinished: first.focus = true
              }
          }
      }
      

      This works on Android devices.
      On iOS devices, when tapping "Done" second field gets the focus. However, keyboard doesn't pop up (inputMethod).
      Tapping on the first field again, first field gets the focus, however the second field still works like it's also focused.

      I have attached a screenshot - on iOS you can see both fields have active cursor. On Android devices this works as expected.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            excaliboor Bojan
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes