-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double submenu opening at the same time #158
Comments
Hello. Thank you for reporting this and for the code sample. Here is the sample project I created to try to reproduce the bug, using your sample code. Can you please download it and make sure you can reproduce it? |
Hi @stavroskasidis , protected void MenuItemOnAppearingHandler(ItemAppearingEventArgs e)
{
string[] disabled = ["1-1", "1-5", "1-7", "1-8", "1-10"];
if (disabled.Contains(e.MenuItem.Id))
{
e.IsEnabled = false;
}
string[] disabled2 = ["2-1", "2-5", "2-7", "2-8", "2-10"];
if (disabled2.Contains(e.MenuItem.Id))
{
e.IsEnabled = false;
}
} |
@stavroskasidis, |
Describe the bug
A double submenu appear when I fast moving between menu item.
I would like to know anyway to detect the old menu hidden or not before open a new menu. Thank you!
To Reproduce
Steps to reproduce the behavior:
Source code to demo the problem
Expected behavior
Only one submenu appear at the same time
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: