mirror of
https://github.com/lingble/twenty.git
synced 2025-10-30 04:12:28 +00:00
fix: bookmarkIcon flash on hover exit (#8448)
Fixes: #8447 Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
@@ -64,7 +64,7 @@ export const MultiItemFieldMenuItem = <T,>({
|
|||||||
onMouseLeave={handleMouseLeave}
|
onMouseLeave={handleMouseLeave}
|
||||||
text={<DisplayComponent value={value} />}
|
text={<DisplayComponent value={value} />}
|
||||||
isIconDisplayedOnHoverOnly={!isPrimary && !isDropdownOpen}
|
isIconDisplayedOnHoverOnly={!isPrimary && !isDropdownOpen}
|
||||||
RightIcon={isHovered ? null : IconBookmark}
|
RightIcon={!isHovered && isPrimary ? IconBookmark : null}
|
||||||
dropdownId={dropdownId}
|
dropdownId={dropdownId}
|
||||||
dropdownContent={
|
dropdownContent={
|
||||||
<DropdownMenuItemsContainer>
|
<DropdownMenuItemsContainer>
|
||||||
|
|||||||
Reference in New Issue
Block a user