-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.3.0
-
None
-
Ubuntu 14.10
When using Flickable.DragAndOvershootBounds boundsBehavior with a cacheBuffer and changing a delegates height after it's been created, if you flick past the end of the listview, it adjusts back before the end rather than at the end.
using boundsBehaviour: Flickable.StopAtBounds doesn't show the same problem.
import QtQuick 2.1 ListView { model: 50 width: 200 height: 300 // Only cache some of the delegates cacheBuffer: height * 2 interactive: true delegate: Loader { id: loader asynchronous: true width: ListView.view.width sourceComponent: Component { Rectangle { Text { text: "menuItem" + index anchors.fill: parent } anchors { left: parent.left; right: parent.right } height: 40 color: Qt.rgba(Math.random(), Math.random(), Math.random(), 0.4) Component.onCompleted: height = 60 } } } }