Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6
-
None
-
f4700f0dd655ca5254ac67021ab9570c1b0cba7d
Description
In the following example, if you press tab and then space, a new item will be pushed onto the stack view, but you can continue pressing space to activate the button on page 1.
import QtQuick 2.6 import QtQuick.Window 2.2 import Qt.labs.controls 1.0 ApplicationWindow { width: 600 height: 400 visible: true Component { id: page1 Column { id: column Label { text: "Page 1" } Button { text: "Go to page 2" onClicked: column.StackView.view.push(page2) } } } Component { id: page2 Label { text: "Page 2" } } StackView { anchors.fill: parent initialItem: page1 } }