From 4509dd080a3cbabeba7571d6aaf07f2716d17230 Mon Sep 17 00:00:00 2001 From: devanshkansagra Date: Mon, 22 Jul 2024 20:20:39 +0530 Subject: [PATCH] Fix: ensure hovered option gets un-hovered properly --- packages/fuselage/src/components/Menu/V2/MenuOption.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fuselage/src/components/Menu/V2/MenuOption.tsx b/packages/fuselage/src/components/Menu/V2/MenuOption.tsx index c7e107d128..c6f34c3b5c 100644 --- a/packages/fuselage/src/components/Menu/V2/MenuOption.tsx +++ b/packages/fuselage/src/components/Menu/V2/MenuOption.tsx @@ -62,7 +62,7 @@ const MenuOption = memo( className={[ 'rcx-option', className, - focus && 'rcx-option--focus', + focus, selected && 'rcx-option--selected', disabled && 'rcx-option--disabled', variant && `rcx-option--${variant}`,