Skip to content

Commit

Permalink
Merge pull request #31605 from getusha/fix-wrong-cursor-style
Browse files Browse the repository at this point in the history
Fix wrong cursor style based on accessibility role
  • Loading branch information
tylerkaraszewski authored Jan 22, 2024
2 parents f576a36 + 211884b commit e184024
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function GenericPressable(
if (shouldUseDisabledCursor) {
return styles.cursorDisabled;
}
if ([rest.accessibilityRole, rest.role].includes('text')) {
if ([rest.accessibilityRole, rest.role].includes(CONST.ROLE.PRESENTATION)) {
return styles.cursorText;
}
return styles.cursorPointer;
Expand Down

0 comments on commit e184024

Please sign in to comment.