Position popup open in Blazor Dropdown Menu Component

9 Mar 20221 minute to read

Popup open position can be changed according to the requirement. We have set the Popup open position using CssClass property as custom in Top and Left for the popup element.

In the following example, the Top position of the popup element.

@using Syncfusion.Blazor.SplitButtons

<SfDropDownButton Content="EDIT" CssClass="custom">
        <DropDownMenuItem Text="Cut"></DropDownMenuItem>
        <DropDownMenuItem Text="Copy"></DropDownMenuItem>
        <DropDownMenuItem Text="Paste"></DropDownMenuItem>

    .custom.e-dropdown-popup {
        margin: -122px -27px;

Changing Popup Position in Blazor DropDownMenu