Hi, is it possible in "compose" or "compose-deskto...
# compose-desktop
w
Hi, is it possible in "compose" or "compose-desktop" to handle something like onMouseDown? Tried Modifier.pointerInput/detectTapGestures, but that is called only like onMouseUp
c
If by mouse down you mean drag by holding mouse button and moving mouse down then you can use
Copy code
Modifier.draggable(
    state = DraggableState {
        if (it > 0.0) {
            println("Moving down")
        } else {
            println("Moving up")
        }
    },
    orientation = Orientation.Vertical
)
If you mean on mouse click then you can use
Modifier.mouseClickable
z
Pointer input should get mouse down too, are you sure something wasn't intercepting it?