diff --git a/src/components/Checkbox.js b/src/components/Checkbox.js index 1bb5824f612a..394e73951c09 100644 --- a/src/components/Checkbox.js +++ b/src/components/Checkbox.js @@ -91,7 +91,7 @@ function Checkbox(props) { onPress={firePressHandlerOnClick} onMouseDown={props.onMouseDown} ref={props.forwardedRef} - style={[props.style, styles.checkboxPressable]} + style={[props.style, StyleUtils.getCheckboxPressableStyle(props.containerBorderRadius + 2)]} // to align outline on focus, border-radius of pressable should be 2px more than Checkbox onKeyDown={handleSpaceKey} accessibilityRole={CONST.ACCESSIBILITY_ROLE.CHECKBOX} accessibilityState={{checked: props.isChecked}} diff --git a/src/components/SelectionList/BaseListItem.js b/src/components/SelectionList/BaseListItem.js index d198979fdf8e..8a42c84ffc67 100644 --- a/src/components/SelectionList/BaseListItem.js +++ b/src/components/SelectionList/BaseListItem.js @@ -44,10 +44,10 @@ function BaseListItem({item, isFocused = false, isDisabled = false, showTooltip, ]} > {canSelectMultiple && ( - + ({ alignItems: 'center', }, - checkboxPressable: { - borderRadius: 6, - padding: 2, - justifyContent: 'center', - alignItems: 'center', - }, - checkedContainer: { backgroundColor: theme.checkBox, },