Skip to content

Commit e52ba93

Browse files
[Checkbox] Fix regression on win32 (#2467)
* fix regression on win32 * Change files
1 parent 495e605 commit e52ba93

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": "minor",
3+
"comment": "fix regression on win32",
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 {...(Platform.OS == 'android' && { onPress, disabled })} accessible={false} focusable={false}>
57+
<Slots.checkbox accessible={false} onPress={onPress} disabled focusable={false}>
5858
<Slots.checkmark key="checkmark" viewBox="0 0 12 12">
5959
{checkmarkPath}
6060
</Slots.checkmark>

0 commit comments

Comments
 (0)