Thread
#compose
    krzysztof

    krzysztof

    1 year ago
    Is there a way to capture (any) touch event at parent level, so that child composables are not reacting to it?
    For example, a Column would catch all events, before they reach to any Switch or Checkbox inside of it
    steelahhh

    steelahhh

    1 year ago
    Modifier.pointerInput(Unit) { detectTapGestures(onTap = { }) }
    This works for nested composables, not sure about parent/children tho
    krzysztof

    krzysztof

    1 year ago
    I got it working with
    .pointerInteropFilter(onTouchEvent = { true })
    Which works same as events system from android View