From 6f5c865a552353c0261f132103260e8c4a23f328 Mon Sep 17 00:00:00 2001 From: Luqman Fadlli <75630095+luqmanfadlli@users.noreply.github.com> Date: Tue, 26 May 2026 14:00:11 +0700 Subject: [PATCH] fix: correct touch area offset on Profile Selection Screen - Replaced explicit `size` and `clip` modifiers with `Modifier.fillMaxSize()` on `CollectionCardRemoteImage`. - Resolved an iOS-specific bug where extra Compose clipping layers caused the UIKitView hit-box to shift away from its visual bounds. - Restored accurate touch targets by relying on the parent Box's constraints. --- .../com/nuvio/app/features/profiles/ProfileSelectionScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/profiles/ProfileSelectionScreen.kt b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/profiles/ProfileSelectionScreen.kt index 272054d77..ec8a99a8a 100644 --- a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/profiles/ProfileSelectionScreen.kt +++ b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/profiles/ProfileSelectionScreen.kt @@ -377,7 +377,7 @@ private fun ProfileAvatarCard( CollectionCardRemoteImage( imageUrl = avatarImageUrl, contentDescription = avatarItem?.displayName ?: profile.name, - modifier = Modifier.size(100.dp).clip(CircleShape), + modifier = Modifier.fillMaxSize(), contentScale = ContentScale.Crop, animateIfPossible = true, )