diff --git a/src/Component/BlazorComponent/Mixins/Menuable/BMenuable.cs b/src/Component/BlazorComponent/Mixins/Menuable/BMenuable.cs index 80806605a..89adfeacc 100644 --- a/src/Component/BlazorComponent/Mixins/Menuable/BMenuable.cs +++ b/src/Component/BlazorComponent/Mixins/Menuable/BMenuable.cs @@ -131,6 +131,11 @@ protected double ComputedTop double top = 0; + if (activator is null || content is null) + { + return top; + } + if (Top) top += activator.Height - content.Height; if (!IsDefaultAttach)