diff --git a/packages/dataviews/src/item-actions.js b/packages/dataviews/src/item-actions.js index ce4dd6abef0568..be19046d60ae3c 100644 --- a/packages/dataviews/src/item-actions.js +++ b/packages/dataviews/src/item-actions.js @@ -21,6 +21,7 @@ const { DropdownMenuGroupV2: DropdownMenuGroup, DropdownMenuItemV2: DropdownMenuItem, DropdownMenuItemLabelV2: DropdownMenuItemLabel, + DropdownMenuSeparatorV2: DropdownMenuSeparator, kebabCase, } = unlock( componentsPrivateApis ); @@ -136,6 +137,7 @@ export default function ItemActions( { item, actions, isCompact } ) { } placement="bottom-end" > + + { + setIsHovered( true ); + }; + + const handleMouseLeave = () => { + setIsHovered( false ); + }; + return ( { if ( event.ctrlKey || event.metaKey ) { event.stopPropagation();