mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-19 22:07:14 +00:00
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:
parent
ee9a63f27b
commit
6f5c865a55
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue