Lukasz Kalnik
07/02/2024, 8:37 AMModifier.fillMaxSize()
as overlay on top of the screen, but I see that the Buttons underneath are still clickable. How can I "catch" the click events in the Box and not let them be propagated to items underneath?swanti
07/02/2024, 8:42 AMBox
clickable. Just remember to change the interactionSource so that it doesn't look like you are clickingLukasz Kalnik
07/02/2024, 8:43 AMStylianos Gakis
07/02/2024, 9:01 AMLukasz Kalnik
07/02/2024, 9:06 AMLukasz Kalnik
07/02/2024, 9:07 AMBox
... I have a bit complex Composable setup, I will try to create a minimal reproducer.Stylianos Gakis
07/02/2024, 9:17 AMDmitriy Gaiduk
07/02/2024, 4:52 PMfun Modifier.disableClicks() = composed {
this.clickable(
interactionSource = remember { MutableInteractionSource() },
indication = null,
onClick = {}
)
}