Skip to content

Commit 9a1daac

Browse files
[Checkbox] fix checkbox & regression (#2469)
* fix checkbox & regression * Change files
1 parent bfa6429 commit 9a1daac

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix checkbox & regression",
4+
"packageName": "@fluentui-react-native/checkbox",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/components/Checkbox/src/Checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const Checkbox = compose<CheckboxType>({
5454
return (
5555
<Slots.root {...mergedProps} {...(Platform.OS == 'android' && { accessible: !disabled, focusable: !disabled })}>
5656
{Checkbox.state.labelIsBefore && labelComponent}
57-
<Slots.checkbox accessible={false} onPress={onPress} disabled focusable={false}>
57+
<Slots.checkbox accessible={false} onPress={onPress} disabled={disabled} focusable={false}>
5858
<Slots.checkmark key="checkmark" viewBox="0 0 12 12">
5959
{checkmarkPath}
6060
</Slots.checkmark>

0 commit comments

Comments
 (0)