Hi p3c0,
thanks for your answers. Your proposed solutions work.
And yes the main-problem is the interference of the ParentChange and the drag-handling.
BTW: I found a different solution:
In the onReleased-handler I reset the state first. This let me keep the ParentChange-handling.
onReleased: {
dragTile.state = ""
dragTile.Drag.drop()
}
↧