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

open menu

3 Answers 334 Views
Menu
This is a migrated thread and some comments may be shown as answers.
khashayar
Top achievements
Rank 1
Veteran
khashayar asked on 12 Jul 2020, 01:35 PM
Hello 
i was looking for a way to keep menu open if its clicked not like staying open as long as its hovered i need it to stay open as long as its focused 

3 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 13 Jul 2020, 10:38 AM

Hi Khashayar,

If the menu does not get disposed when you navigate to a new page (that is, it is outside of the @Body), it will not close. I am attaching our CRUD project template here, modified to nest the pages in a child menu, and a short video that demonstrates this behavior.

Regards,
Marin Bratanov
Progress Telerik

0
khashayar
Top achievements
Rank 1
Veteran
answered on 14 Jul 2020, 10:06 AM
thank you marin this is exactly how my menu works but my issue is menu gets opened when its hovered 
and if you stop hovering it gets closed what i want is that when i click on it, it should be open and doesnt matter if its hovered or not 

like the popup of drop down when you click on arrow it gets open and when  dropdown looses focus popup gets closed 
0
Marin Bratanov
Telerik team
answered on 14 Jul 2020, 05:36 PM

Hi,

I made this page where you can Follow the implementation of such a feature: https://feedback.telerik.com/blazor/1476204-hide-event-for-the-menu-not-hide-on-mouseout

 

Regards,
Marin Bratanov
Progress Telerik

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