Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.13.1
-
None
Description
As the topic mentioned, in my situation, the scrollview has a child that has a mouseare inside. When I press inside the mouseare, everything is ok, but if I make a pressAndMove-action exceed a specific distance, the scrollbar will show and the mouseare lost focus, the pressd property of mouseare force to be false as well.
My testing code as below, the cursor shape change from closedhand to openhand so I can know the pressed property has forced to be false.
//代码占位符 import QtQuick 2.12 import QtQuick.Controls 2.12 ScrollView { width: 200 height: 200 clip: true Label { text: "ABC" font.pixelSize: 224 MouseArea { id: aamouse anchors.fill: parent cursorShape: pressed?Qt.ClosedHandCursor:Qt.OpenHandCursor } } }