Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6.1
-
None
Description
If MouseArea is on top of pointer handlers, it will consume the event, but when MouseArea is between pointer handlers, it seems completely ignored.
That means in a case like this both onTappend handlers are called:
import QtQuick.Controls import QtQuick.Window import QtQuick Window { id: root width: 640 height: 480 visible: true title: qsTr("Hello World") Rectangle { width: 80 height: 80 color: "red" TapHandler { onTapped: console.log("red") } } MouseArea { anchors.fill: parent } Rectangle { width: 80 height: 80 color: "blue" TapHandler { id: b onTapped: console.log("blue") } } }