fix: add contentShape to team picker rows for full-row tap targets
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -240,6 +240,7 @@ private struct TeamListView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(.vertical, Theme.Spacing.xs)
|
.padding(.vertical, Theme.Spacing.xs)
|
||||||
|
.contentShape(Rectangle())
|
||||||
.accessibilityElement(children: .combine)
|
.accessibilityElement(children: .combine)
|
||||||
}
|
}
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
|
|||||||
@@ -308,6 +308,7 @@ private struct TeamMultiSelectListView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(.vertical, Theme.Spacing.xs)
|
.padding(.vertical, Theme.Spacing.xs)
|
||||||
|
.contentShape(Rectangle())
|
||||||
}
|
}
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
.accessibilityAddTraits(selectedTeamIds.contains(team.id) ? .isSelected : [])
|
.accessibilityAddTraits(selectedTeamIds.contains(team.id) ? .isSelected : [])
|
||||||
|
|||||||
Reference in New Issue
Block a user