Comment 4 for bug 1578619

Revision history for this message
Tim Peeters (tpeeters) wrote :

I reproduced the bug with this code, which has no header:

import QtQuick 2.2
import QtQuick.XmlListModel 2.0
import Ubuntu.Components 1.3
import Ubuntu.Components.ListItems 1.3
Item {
    width: units.gu(40)
    height: units.gu(71)
        id: page0
        ListView {
            id: view
            anchors.fill: parent
            model: 15
            delegate: Standard {
                width: ListView.view.width
                height: units.gu(5)
                text: index
            }
            onVerticalVelocityChanged: print("vv = "+verticalVelocity)
            PullToRefresh {
                id: pullToRefresh
                onRefreshingChanged: print("refreshing = "+refreshing)
                onRefresh: {
                    refreshing = true;
                    refreshing = false;
                }
            }
        }
    }