javascript - Prevent closing of sub-menu in kendo context menu until user hovers on another menu item or clicks outside/another menu item -


please refer sample : https://dojo.telerik.com/eqali

since sub-items quite small in length on hovering on menu, sub-menu closes loses focus. requirement once sub-menu opened, should not close until user hover on menu item or clicks on item. should remain opened if mouse focus leaves sub-menu works in explorer context menu shown in image below:

enter image description here

i have made more changes , have achieved desired results can seen in following sample: https://dojo.telerik.com/eqali/2 here issue if hover on menu-item not have children, opened sub-menu item not closed until hoverdelay fired.

any suggestions on how can achieved ?

kendo has changed it's contextmenu options: can add 'openonclick' option 'submenuitems' , 'rootmenuitems':

openonclick: {   submenuitems: true,  rootmenuitems: true } 

http://docs.telerik.com/kendo-ui/api/javascript/ui/menu#configuration-openonclick

maybe helps you!


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -