diff --git a/maps-compose/src/main/java/com/google/maps/android/compose/MapApplier.kt b/maps-compose/src/main/java/com/google/maps/android/compose/MapApplier.kt index 37452efe..2c9ef6fb 100644 --- a/maps-compose/src/main/java/com/google/maps/android/compose/MapApplier.kt +++ b/maps-compose/src/main/java/com/google/maps/android/compose/MapApplier.kt @@ -205,8 +205,9 @@ private inline fun Iterable.findInputCa for (item in this) { if (item is NodeT && nodeMatchPredicate(item)) { // Found a matching node - nodeInputCallback(item)?.invoke(marker) - return true + if (nodeInputCallback(item)?.invoke(marker) == true) { + return true + } } else if (item is InputHandlerNode) { // Found an input handler, but keep looking for matching nodes callback = inputHandlerCallback(item)