Skip to content

Commit

Permalink
Merge pull request #37260 from Krishna2323/krishna2323/issue/37236
Browse files Browse the repository at this point in the history
fix: Task - Pointer shows up for an archived task when hovering over the edge of the checkbox.
  • Loading branch information
jasperhuangg authored Mar 5, 2024
2 parents b2b6ad7 + d8cd368 commit 9e41103
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/SelectionList/BaseListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function BaseListItem<TItem extends ListItem>({
role={CONST.ROLE.BUTTON}
disabled={isDisabled}
onPress={handleCheckboxPress}
style={StyleUtils.getCheckboxPressableStyle()}
style={[styles.cursorUnset, StyleUtils.getCheckboxPressableStyle()]}
>
<View style={selectMultipleStyle}>
{item.isSelected && (
Expand Down
2 changes: 0 additions & 2 deletions src/styles/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import type {ThemeStyles} from '..';
import shouldPreventScrollOnAutoCompleteSuggestion from './autoCompleteSuggestion';
import getCardStyles from './cardStyles';
import containerComposeStyles from './containerComposeStyles';
import cursor from './cursor';
import FontUtils from './FontUtils';
import createModalStyleUtils from './generators/ModalStyleUtils';
import createReportActionContextMenuStyleUtils from './generators/ReportActionContextMenuStyleUtils';
Expand Down Expand Up @@ -929,7 +928,6 @@ function getCheckboxPressableStyle(borderRadius = 6): ViewStyle {
alignItems: 'center',
// eslint-disable-next-line object-shorthand
borderRadius: borderRadius,
...cursor.cursorPointer,
};
}

Expand Down

0 comments on commit 9e41103

Please sign in to comment.