Skip to content

Commit

Permalink
Merge pull request #38030 from dukenv0307/fix/37241-parent-is-not-gre…
Browse files Browse the repository at this point in the history
…y-out
  • Loading branch information
cead22 authored Mar 18, 2024
2 parents 17be26d + becfee9 commit 22bd9eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SelectionList/BaseListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function BaseListItem<TItem extends ListItem>({
accessibilityLabel={item.text ?? ''}
role={CONST.ROLE.BUTTON}
hoverDimmingValue={1}
hoverStyle={!item.isSelected && styles.hoveredComponentBG}
hoverStyle={!item.isDisabled && !item.isSelected && styles.hoveredComponentBG}
dataSet={{[CONST.SELECTION_SCRAPER_HIDDEN_ELEMENT]: true}}
onMouseDown={shouldPreventDefaultFocusOnSelectRow ? (e) => e.preventDefault() : undefined}
nativeID={keyForList ?? ''}
Expand Down
1 change: 1 addition & 0 deletions src/components/SelectionList/RadioListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ function RadioListItem({
styles.sidebarLinkTextBold,
isMultilineSupported ? styles.preWrap : styles.pre,
item.alternateText ? styles.mb1 : null,
isDisabled && styles.colorMuted,
]}
numberOfLines={isMultilineSupported ? 2 : 1}
/>
Expand Down

0 comments on commit 22bd9eb

Please sign in to comment.