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

TextEdit is not flickable with touch

XMLWordPrintable

    • a2209698d3584a7c05d0c12aa61de050fe0e78fd (qt/qtdeclarative/dev)

      If a readonly TextArea is placed inside Flickable, you cannot use touch to flick it, while mouse works correctly. Interestingly, if you first flick it with mouse, then you can also use touch events.

      import QtQuick 2.15
      import QtQuick.Window 2.15
      
      Window {
          width: 640
          height: 480
          visible: true
      
          Flickable {
              anchors.fill: parent
              contentHeight: text.height
      
              TextEdit {
                  id: text
                  enabled: false
                  text: "several\nlines\nof\ntext\n-\ntry\nto\nflick"
              }
          }
      }
      

        For Gerrit Dashboard: QTBUG-88169
        # Subject Branch Project Status CR V

            srutledg Shawn Rutledge
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes