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

TextInput not working properly on iOS devices

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes