Is it possible to only override the double-click b...
# compose-desktop
m
Is it possible to only override the double-click behavior for a child composable but keep the normal click behavior from the parent?
Copy code
Row (modifier = Modifier.onClick { // do something with the whole row }) {
    ...
  
    Box(modifier = Modifier.onClick(onDoubleClick = { // do something different when double clicking on that box in the row }) { // this onClick listener is needed to. if i keep it empty, the onClick for the parent row doesn't get called }) {
        ...
    }
}