vide
04/27/2023, 3:15 AMawaitPointerEvent
wrong?
.pointerInput(Unit) {
awaitPointerEventScope {
while (true) { awaitPointerEvent(PointerEventPass.Main).changes.forEach { it.consume() } }
}
}
Albert Chang
04/27/2023, 6:21 AMPointetEventPass.Final
so that you only consume events that are not consumed by any child.Albert Chang
04/27/2023, 6:26 AMSurface
already does this so you can probably just use a Surface
as the container.vide
04/27/2023, 6:36 AMvide
04/27/2023, 7:25 AMFinal
didn't work either blob thinking upside down It still breaks the children's scrolling.vide
04/27/2023, 7:26 AMSurface
implementation. Turns out it is just an empty block:
.pointerInput(Unit) {}
This works for my use case. Thanks for the suggestion of taking a look at Surface!vide
04/27/2023, 7:30 AM