I noticed a problem with `tryAwaitRelease()` on be...
# compose
n
I noticed a problem with
tryAwaitRelease()
on beta04. It’s always returning false… 🤔
Here is my code snippet…
Copy code
.pointerInput(Unit) {
    detectTapGestures(onPress = {
        isKeyPressed = true // my state...
        val success = tryAwaitRelease() 
        if (success) { // << it's always false...
            isKeyPressed = false
            pressed(keyboardKey) 
        } else {
            isKeyPressed = false
        }
    })
}
It’s working fine on beta03
z
Did you file a bug? Tracker link is in the channel topic
n
thanks @Zach Klippenstein (he/him) [MOD]! I was wondering if I was doing something wrong, but sure, I’ll file a bug.