diff --git a/src/Components/ContextMenu.re b/src/Components/ContextMenu.re index d6b2eef7c0..809bdea6c7 100644 --- a/src/Components/ContextMenu.re +++ b/src/Components/ContextMenu.re @@ -141,6 +141,13 @@ module Menu = { backgroundColor(theme.menuBackground), color(theme.menuForeground), width(Constants.menuWidth), + boxShadow( + ~xOffset=-5., + ~yOffset=-5., + ~blurRadius=25., + ~spreadRadius=-10., + ~color=Color.rgba(0., 0., 0., 0.0001), + ), ]; }; @@ -172,16 +179,6 @@ module Menu = { }; ( - // TODO: BoxShadow apparently blocks mouse events. Figure out why before adding back - // setRef(_ => Some(node))}> @@ -192,7 +189,6 @@ module Menu = { }) |> React.listToElement} , - // , hooks, ); });