Hello, I want to block all tap(click) inside a com...
# compose
k
Hello, I want to block all tap(click) inside a composable. How can I implement it?
t
you can try this
Modifier.pointerInput(Unit) { detectTapGestures { } }
k
It seems not working (I can still tap button etc...)
t
Can you post the code?
k
Oops, I put it into parent composable.
now, it working well. thank you !
👍 1