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

Option to close menu on hover when 'openOnClick' is set to true

1 Answer 90 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Neetu
Top achievements
Rank 1
Neetu asked on 21 Mar 2014, 11:42 AM
I need an option to close the menu when mouse moves out of menu, and open the menu on click.
We have a four level deep menu structure. If I set 'openOnClick' as true, the menu does not get closed on mouse out.

How can this be achieved?

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 25 Mar 2014, 11:49 AM
Hi Neetu,

By design if 'openOnClick' is set to true, the menu will not get closed on mouse out.
The requested functionality is not supported out of the box by Kendo Menu widget and we cannot suggest a suitable workaround for that scenario because the build-in mouseleave event handler performs a check for the openOnClick flag.

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Menu
Asked by
Neetu
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or