Sometimes compose does not detect drag end. Using the
onDrag
modifier, the
onDragEnd
and
onDragCancel
callback methods are sometimes not invoked. The same happens when using
draggable
modifier with
onDragStopped
.
It’s hard to describe the behaviour as I can not detect any pattern which could cause this. I feel like fast and sudden mouse movements are the cause.
Also I am rendering a custom drag overlay on the mouse position.