Skip to content

Commit

Permalink
Merge pull request #44219 from isogit123/blockquote_fix_regression
Browse files Browse the repository at this point in the history
[CP Staging] Remove hover background for non interactive elements
  • Loading branch information
mountiny authored Jun 24, 2024
2 parents 5f45b4c + 0d1b8af commit 418a756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MenuItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ function MenuItem(
...(Array.isArray(wrapperStyle) ? wrapperStyle : [wrapperStyle]),
!focused && (isHovered || pressed) && hoverAndPressStyle,
shouldGreyOutWhenDisabled && disabled && styles.buttonOpacityDisabled,
isHovered && !pressed && styles.hoveredComponentBG,
isHovered && interactive && !pressed && styles.hoveredComponentBG,
] as StyleProp<ViewStyle>
}
disabledStyle={shouldUseDefaultCursorWhenDisabled && [styles.cursorDefault]}
Expand Down

0 comments on commit 418a756

Please sign in to comment.