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

Submenu item staying visible

7 Answers 343 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 31 Mar 2020, 05:32 PM

 Hello,

I am using the menu component and am noticing that submenus can remain visible after moving the mouse cursor off them.

An example: https://raw.githubusercontent.com/austineric/StaticAssets/master/Example1.gif

 

(The example uses sample code from https://demos.telerik.com/blazor-ui/menu/index)

I've had users move their mouse that way by chance and it makes the navigation confusing. Is there anything I can do differently to avoid the behavior?

Thanks,

Eric

7 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 31 Mar 2020, 06:10 PM

Hi Eric,

Such behavior is something that can be observed in a Server-side BLazor app when the user has a high latency to the server. It's an inherent problem in this scenario and we've done what can be done to alleviate it.

Server-side Blazor is not suitable for public facing sites (such as our demos, by the way) and perhaps such an app needs to be hosted on Azure so it can be close to your users, or you should migrate it to a WASM app to eliminate the SIgnalR latency altogether.

That said, can you reproduce this problem in a low-latency environment (not like our demos)?

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Eric
Top achievements
Rank 1
answered on 31 Mar 2020, 06:35 PM

Hi Marin,

That example is actually from a project running locally on my machine.

Thanks for the explanation, that makes sense.

0
Marin Bratanov
Telerik team
answered on 31 Mar 2020, 06:41 PM

Hi Eric,

I tried the demo locally and I could not reproduce such behavior. Does this work fine for you in a WASM app? If yes, then it is definitely a SignalR mixup due to latency (where that latency would be coming from on localhost is beyond me, though).

 

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Aditya
Top achievements
Rank 1
Veteran
answered on 15 Mar 2021, 05:49 PM

I am having this same issue with Blazor Server Side app. Instead of displaying the sub-menus on hover, will it be possible to show the submenus only upon explicitly clicking on the top menu or a drop down indicator?

 

Something similar to this => Check "Show Item on Click" option

https://blazor.syncfusion.com/demos/menu-bar/api?theme=bootstrap4

0
Marin Bratanov
Telerik team
answered on 15 Mar 2021, 08:29 PM

Hello Aditya,

The good news is that this issue with the menu items staying open should be fixed in our next release: https://feedback.telerik.com/blazor/1428330-multiple-parent-menu-items-can-be-expanded-at-the-same-time

As for showing menu sub-items on click - it will be possible when this feature gets implemented: https://feedback.telerik.com/blazor/1428333-show-menu-items-on-click-instead-of-hover

You may also find interesting this one: https://feedback.telerik.com/blazor/1476204-hide-event-for-the-menu-not-hide-on-mouseout

I've added your Vote on your behalf for both to raise their priority, and you can click the Follow button on those pages to get email status updates.

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
Aditya
Top achievements
Rank 1
Veteran
answered on 15 Mar 2021, 10:12 PM
Thank you Marin ...is there a tentative release date for the next version (2.23.0)?
0
Marin Bratanov
Telerik team
answered on 16 Mar 2021, 07:17 AM

Hi Aditya,

We are aiming at the end of March or early April.

 

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
Eric
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Eric
Top achievements
Rank 1
Aditya
Top achievements
Rank 1
Veteran
Share this question
or