Class

DragDetectionState.AwaitTouchSlop

If drag should wait for touch slop, after the initial down recognition we move to this state.

Common
class AwaitTouchSlop(
        var initialDown: PointerInputChange? = null,
        var pointerId: PointerId = PointerId(Long.MAX_VALUE),
        var verifyConsumptionInFinalPass: Boolean = false,
    ) : DragDetectionState()

If drag should wait for touch slop, after the initial down recognition we move to this state. Here we will collect drag events until touch slop is crossed.