Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.2
-
None
-
838fd79152957f457a47cd30970961a27f086848
Description
Drag & release an item
- Expected: the item animates to the open or close position
- Actual: the position jumps without animation
import QtQuick 2.5 import QtQuick.Window 2.2 import QtQuick.Controls 2.0 Window { id: window width: 360 height: 480 visible: true ListView { model: 10 anchors.fill: parent delegate: SwipeDelegate { text: index width: parent.width swipe.behind: Rectangle { color: "tomato" width: parent.width height: parent.height } } } }
The x-coordinate behaviors are only enabled when the delegate is not down/pressed. SwipeDelegate: don't emit clicked when released outside probably changed the pressed state and position change order, so now the behaviors no longer get executed on release.