Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.3.2, 5.4.0
-
Android, iOS, windows mobile
-
5f7f27759e23fb1e5f3779a580adcf5bb6d5ecd6
Description
Button's hover is not behaving correctly on touch devices, the "hovered" property is set to "true" and remains "true" despite of release of the button.
import QtQuick 2.4 import QtQuick.Controls 1.3 ApplicationWindow { id: root width: 800 height: 600 visible: true Rectangle { anchors.fill: parent color: "grey" ListView { id: list anchors.fill: parent anchors.margins: 20 clip: true interactive: true model: 50 delegate: numberDelegate spacing: 1 } Component { id: numberDelegate Button { width: list.width height: list.height / 7 text: index+". pressed: " + (pressed ? "true" : "false") } } } }
Hover should be disabled on touch only devices