This is a migrated thread and some comments may be shown as answers.

menu and sub-menu not refreshing

6 Answers 202 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Konrad
Top achievements
Rank 1
Konrad asked on 14 Dec 2020, 11:02 AM

Hi, I have a problem with menu and sub-menu. The problem does not always occur, but quite often. SignalR latency is low (local server).

See attachment - after I move the mouse pointer outside the menu area, the items are still expanded.

Best regards

Konrad

 

6 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 14 Dec 2020, 11:04 AM

Hi Konrad,

You can Follow the fix for that here: https://feedback.telerik.com/blazor/1428330-multiple-parent-menu-items-can-be-expanded-at-the-same-time

We had made some fixes in this regard that could cater for some signlalr issues but there is work to be done so this item is now open again.

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Todd
Top achievements
Rank 1
answered on 18 Dec 2020, 09:23 PM
Same issue.  (I posted on the General Discussion thread, too, but wanted to make sure I'm in the loop no matter where updates happen!)  
0
Konrad
Top achievements
Rank 1
answered on 07 Jan 2021, 05:39 PM

OK, thanks, waiting for fix/investigation. The issue in on local server / intranet (the server and network is not under load), so it doesn't seem to be a latency problem, but not sure.

 

Best regards

0
Marin Bratanov
Telerik team
answered on 07 Jan 2021, 05:43 PM

Hi Konrad,

Tools such as VPN or other networking setup (even using wireless connection on a laptop/pc/tablet/phone) can potentially interfere with the latency. You can see this section of the MS article to measure it so we can rule that out: Measure network latency, here's the sample component itself

@inject IJSRuntime JS

@if (latency is null)
{
    <span>Calculating...</span>
}
else
{
    <span>@(latency.Value.TotalMilliseconds)ms</span>
}

@code {
    private DateTime startTime;
    private TimeSpan? latency;

    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        if (firstRender)
        {
            startTime = DateTime.UtcNow;
            var _ = await JS.InvokeAsync<string>("toString");
            latency = DateTime.UtcNow - startTime;
            StateHasChanged();
        }
    }
}

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Konrad
Top achievements
Rank 1
answered on 29 Jan 2021, 03:43 PM

Hi Marin, is there any chance to move on with the topic in the coming weeks/months?

Best regards

Konrad

 

 

0
Marin Bratanov
Telerik team
answered on 29 Jan 2021, 04:04 PM

Hello Konrad,

This issue is high on our priority list, but there is a major problem with handling it - there is no tooling that can simulate delays and jitter for signalr connections. This makes reproducing this reliably hard, and that, in turn, makes it very hard to know if you actually fixed it. We do intend to work on it, yet I am not in a position to promise time frames at the moment. The best way to know when it gets done is to click the Follow button on its portal page.

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Menu
Asked by
Konrad
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Todd
Top achievements
Rank 1
Konrad
Top achievements
Rank 1
Share this question
or