Daniel
05/29/2021, 12:07 AMBox(Modifier.fillMaxSize()) {
AndroidView(/* ... */)
when (foo) {
is Bar -> Box(Modifier.fillMaxSize().pointerInput(key) { /* ... */ }
is Buzz -> Box(Modifier.fillMaxSize().pointerInput(key) { /* ... */ }
/ * ... */
}
}
The problem is both Modifier.pointerInteropFilter
(even returning false) and Modifier.pointerInput
(even with an empty block) prevent the view from seeing any pointer events.Federico Arrua
05/29/2021, 12:38 AM