QML - SwipeDelegate
-
I created a ListLView with a SwipeDelegate.
The swipe is doing well if the mouse cursor does not leave the window in which the ListView is visible. But when the mouse cursor starts the swipe by clicking on it and the mouse cursor is putting far away of the window then the apllication crashes.The following code is in the .qml file:
swipe.onCompleted: {
swipeDelegate.swipe.close()
}
When is it possible to close the swipe?
What does it means "Any animations defined for the x position of contentItem and background will be triggered."? Is the x position equal to the mouse cursor?