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

(cherry picked from commit 418a756)
  • Loading branch information
mountiny authored and OSBotify committed Jun 24, 2024
1 parent d56e3c8 commit a160c46
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 a160c46

Please sign in to comment.