Skip to content

Commit

Permalink
Merge pull request #868 from adevinta/component/checkbox_bug_866
Browse files Browse the repository at this point in the history
[Checkbox#866] Fix extanding content issue in stack for single checkbox
  • Loading branch information
aycil-alican authored Apr 16, 2024
2 parents ef2e4b1 + 2ad8d51 commit 92cc503
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public struct CheckboxView: View {
.isEnabledChanged { isEnabled in
self.viewModel.isEnabled = isEnabled
}
.fixedSize(horizontal: false, vertical: true)
.accessibilityIdentifier(CheckboxAccessibilityIdentifier.checkbox)
.accessibilityValue(setAccessibilityValue(selectionState: self.viewModel.selectionState))
.accessibilityRemoveTraits(.isSelected)
Expand Down

0 comments on commit 92cc503

Please sign in to comment.