Important: Please read the Qt Code of Conduct -

ListView - OverBounds is freezing at bottom when content is full

  • Hello,

    I'm using Qt v5.7.0

    I have an issue with ListView, when its height content is bigger than its own height, the move is freezing when you scroll over the bottom of the list.

    There is an example :

    import QtQuick 2.7
    import QtQuick.Controls 2.0
    /// [...]
    ListView {
    	id: myList
    	width: parent.width
    	height: parent.height
    	boundsBehavior: Flickable.DragOverBounds
    	flickableDirection: Flickable.VerticalFlick
    	ScrollBar.vertical: ScrollBar {}
    	verticalLayoutDirection: ListView.BottomToTop
    	spacing: 20
    	cacheBuffer: 0
    	model: 20
    	delegate: ItemDelegate {
    		width: myList.width
    		height: 30
    		Rectangle {
    			width: parent.width
    			height: parent.height
    			color: "red"

    Is it a bug ? Or something may depend on hightlight item ?


Log in to reply