mihkov mihkov - 1 year ago 125
Javascript Question

Kendo UI menu open() close() not working in hidden parent

I've made an example: http://dojo.telerik.com/IyAFA

I have a sample menu and I want to close it in some events.
To test the example first drag over "Hover me" button (menu should be closed). Then click "Show Menu" button to see how it looks like.

I guess the problems is open() and close() function are not working if the parent of the kendo menu is with style

. Anyone knows a workaround or a solution for this problem?

Answer Source

I found some workaround:
Before call .close() on kendo menu, the following line should be added:



Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download