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.
This commit is contained in:
Luqman Fadlli 2026-05-26 14:00:11 +07:00 committed by GitHub
parent ee9a63f27b
commit 6f5c865a55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,
)