I am using the menu, but we do not know if it is because there are many items but when I start it a part is compressed and it is overwritten. This problem when opening the browser item inspector and then closing it disappears and is seen normally. I don't know if it's a bug that I can fix or it's a menu bug. Attached photos of the problem.



|
<SfMenu Items="@MenuItems" CssClass="e-custom-scroll" EnableScrolling="true">
<MenuEvents TValue="MenuItem"></MenuEvents>
</SfMenu> |
|
<div style="float:left;position:relative">
<button class="e-flat"> About</button>
</div>
<div style="float:left;position:static">
<SfMenu Items="MenuItems"></SfMenu>
</div>
<br /><br /><br />
<div style="float: left">
<SfGrid TValue="Order" AllowPaging="true">
<SfDataManager Url="https://js.syncfusion.com/ejServices/Wcf/Northwind.svc/Orders" Adaptor="Adaptors.ODataAdaptor"></SfDataManager>
<GridColumns>
<GridColumn Field=@nameof(Order.OrderID) HeaderText="Order ID" IsPrimaryKey="true" TextAlign="TextAlign.Right" Width="120"></GridColumn>
<GridColumn Field=@nameof(Order.CustomerID) HeaderText="Customer Name" Width="150"></GridColumn>
<GridColumn Field=@nameof(Order.OrderDate) HeaderText=" Order Date" Format="d" Type="ColumnType.Date" TextAlign="TextAlign.Right" Width="130"></GridColumn>
<GridColumn Field=@nameof(Order.Freight) HeaderText="Freight" Format="C2" TextAlign="TextAlign.Right" Width="120"></GridColumn>
<GridColumn Field=@nameof(Order.ShipCountry) HeaderText="Ship Country" Width="150"></GridColumn>
<GridColumn Field=@nameof(Order.ShipName) HeaderText="ShipName" Width="150"></GridColumn>
<GridColumn Field=@nameof(Order.ShipAddress) HeaderText="ShipAddress" Width="150"></GridColumn>
<GridColumn Field=@nameof(Order.ShipCity) HeaderText="ShipCity" Width="150"></GridColumn>
<GridColumn Field=@nameof(Order.ShipRegion) HeaderText="ShipRegion" Width="150"></GridColumn>
<GridColumn Field=@nameof(Order.ShipPostalCode) HeaderText="ShipPostalCode" Width="150"></GridColumn>
<GridColumn Field=@nameof(Order.ShipCountry) HeaderText="Ship Country" Width="150"></GridColumn>
<GridColumn Field=@nameof(Order.ShipName) HeaderText="ShipName" Width="150"></GridColumn>
<GridColumn Field=@nameof(Order.ShipAddress) HeaderText="ShipAddress" Width="150"></GridColumn>
<GridColumn Field=@nameof(Order.ShipCity) HeaderText="ShipCity" Width="150"></GridColumn>
<GridColumn Field=@nameof(Order.ShipRegion) HeaderText="ShipRegion" Width="150"></GridColumn>
<GridColumn Field=@nameof(Order.ShipPostalCode) HeaderText="ShipPostalCode" Width="150"></GridColumn>
</GridColumns>
</SfGrid>
</div>
<style>
.sf-grid {
width: 67% !important;
overflow-x: scroll;
}
</style> |