-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
None
-
5.15.3, 5.15.6
Using a ListView like this:
ListView {
model: 100
anchors.fill: parent
header: header: Text {
height: 48
width: parent.width
text: "List title"
}
headerPositioning: ListView.OverlayHeader
delegate: Item {
width: parent ? parent.width : 0
height: 48
Text {
text: "Item " + modelData
}
Rectangle {
anchors {
left: parent.left
right: parent.right
bottom: parent.bottom
}
height: 1
color: "black"
}
TapHandler {
onSingleTapped: console.log("tapped " + modelData)
}
}
}
does not scroll via drag gesture. Wheel-scrolling works fine.
If you either:
- disable the TapHandler in the delegate
- use the default headerPositioning
- do not set a fixed height for the header
the drag-scrolling works fine.
- mentioned in
-
Page Loading...