Is there a way to prevent a mouse click event of g...
# compose-desktop
t
Is there a way to prevent a mouse click event of going throw the composable and triggering the click event of the composable underneath (in a Box)?
Got it working with
Copy code
Modifier.pointerInput(Unit) { detectTapGestures(onPress = {}) }
If there is an easier way let me know
t
You could also put an invisible Box on top of the other component. (Of course it is not better. Just an other possible way of doing it)
t
That doesn't work thats exactly the Problem 😅