Skip to content

Commit

Permalink
fix: bookmarkIcon flash on hover exit (twentyhq#8448)
Browse files Browse the repository at this point in the history
Fixes: twentyhq#8447

Co-authored-by: Félix Malfait <[email protected]>
  • Loading branch information
harshrajeevsingh and FelixMalfait authored Nov 11, 2024
1 parent c19e54f commit 29d92ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const MultiItemFieldMenuItem = <T,>({
onMouseLeave={handleMouseLeave}
text={<DisplayComponent value={value} />}
isIconDisplayedOnHoverOnly={!isPrimary && !isDropdownOpen}
RightIcon={isHovered ? null : IconBookmark}
RightIcon={!isHovered && isPrimary ? IconBookmark : null}
dropdownId={dropdownId}
dropdownContent={
<DropdownMenuItemsContainer>
Expand Down

0 comments on commit 29d92ab

Please sign in to comment.