This is my code.
Код: Выделить всё
Card( modifier = modifier, shape = CutCornerShape(0), elevation = CardDefaults.cardElevation(10.dp), onClick = { onCardClick.invoke() } ) { Box( modifier = modifier .height(IntrinsicSize.Max) .width(IntrinsicSize.Max) ) { GoogleMap( Modifier.fillMaxSize(), cameraPositionState = positionState ) { //... } //... } } If I changed googleMap with Column the interaction worked without any issues.
Источник: https://stackoverflow.com/questions/766 ... e-the-card