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

2 posts, 0 answers
  1. Neetu
    Neetu avatar
    1 posts
    Member since:
    Nov 2012

    Posted 21 Mar 2014 Link to this post

    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?
  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 25 Mar 2014 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top