Skip to content

Commit feb3fa6

Browse files
fix(mobile): selected choice rows keep the card background
A tinted selected row read as a gap in the card. Like UIKit and Material lists, the checkmark or radio alone marks the selection. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 71773b4 commit feb3fa6

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎apps/mobile/src/components/ui/ListChoiceRow.tsx‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ export function ListChoiceRow(props: {
2626
onPress={props.onPress}
2727
android_ripple={{ color: rippleStyle.backgroundColor }}
2828
unstable_pressDelay={Platform.OS === "android" ? 50 : undefined}
29-
className={cn(
30-
props.selected ? "bg-subtle" : "bg-grouped-card",
31-
props.separated && "border-t border-border-subtle",
32-
)}
29+
// Like UIKit and Material lists, only the checkmark or radio marks the selected row.
30+
className={cn("bg-grouped-card", props.separated && "border-t border-border-subtle")}
3331
>
3432
<ListRowLayout
3533
label={props.label}

0 commit comments

Comments
 (0)