Menu
Menu copied to clipboard
[Bug]
Hi Chris! Your Menu component is realy great! And teach me a lot. Thank you very much! My English is not good enough to Describe the bug So ... (1) BlazoredSubMenuBase.cs The icon changing doesn't work when i create a new Razor page and click the item(but the KeyDownHandler works well...),
//2022.3.25 修改
//protected override void OnParametersSet()
protected override void OnInitialized()
(2) BlazoredSubMenu.razor If the header is too long, the text will cover the icon.
@*<span role="button" tabindex="0" @onclick="ToggleSubMenu" @onkeydown="KeyDownHandler">@HeaderTemplate <i class="@IconCss">@Icon</i></span>*@
<div class="row p-0">
<div class="row p-0 m-0">
<div class="col-10 p-0 m-0">
<span role="button" tabindex="0" @onclick="ToggleSubMenu" @onkeydown="KeyDownHandler">@HeaderTemplate</span>
</div>
<div class="col-1 p-0 m-0">
<i class="@IconCss">@Icon</i>
</div>
</div>