https://kotlinlang.org logo
#compose
Title
# compose
r

RE

03/19/2023, 6:06 AM
How can make Compose ignore pointer events and pass events to the elements below? I want top() not to consume any events
Copy code
Box {
  content()
  top()
}
l

Loney Chou

03/20/2023, 9:56 AM
Not currently. I think there could be an
Modifier.pointerEventInterceptor
that stops pointer events being propagated to the inner (down the modifier chain, into the content of this composable). This requires changes to the internal.
30 Views