hoverDelay setting behavior

4 posts, 0 answers
  1. Alex
    Alex avatar
    2 posts
    Member since:
    Jan 2015

    Posted 16 Jan 2015 Link to this post

    Hi Everyone,

    The hoverDelay setting does not seem to be consistent - its behavior differs depending on whether the item being selected has sub-items or not. 

    Lets say in the example below we select 'Item 3' first. This will open the sub menu for Item 3 after 1 sec delay. If we now hover 'Item 2', the sub menu for 'Item 3' will stay open for 1000 ms, and then close. Good! That's what I want.

    Now, lets do another test - again, select our 'Item 3' first but instead of going to 'Item 2', go to 'Item 4'. This will immediately close the sub menu for 'item 3', and after 1 sec delay will open sub menu for 'Item 4'. In my opinion this is not correct - it should keep the sub menu for Item 3 open for 1 sec, and then it should close it and display the sub menu for 'Item 4'. 

    This issue makes it challenging to use the menu control, especially with large menus - you have to be very precise with your mouse movements. 

    Is there any way to make the control work the way i want? Any suggestion or workaround?

    Any help will be appreciated!
     
        <ul id="menu">
        <li>
            Root
            <ul>
                <li>Item 1</li>
                <li>Item 2</li>
                <li>
                    Item 3
                    <ul>
                        <li>Item 31</li>
                        <li>Item 32</li>
                        <li>Item 33</li>
                    </ul>
                </li>
                <li>
                    Item 4
                    <ul>
                        <li>Item 41</li>
                        <li>Item 42</li>
                        <li>Item 43</li>
                    </ul>
                </li>
            </ul>
        </li>
    </ul>
     
    <script>
        $(document).ready(function () {
            $("#menu").kendoMenu({
                hoverDelay: 1000
            });
        });
    </script>


  2. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 20 Jan 2015 Link to this post

    Hello Alex,

    Thank you for sharing your thoughts. I think that what you suggest makes sense, and will log it for future investigation. 

    Regards,
    Petyo
    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
  4. Alex
    Alex avatar
    2 posts
    Member since:
    Jan 2015

    Posted 20 Jan 2015 in reply to Petyo Link to this post

    Hi Petyo,

    Thanks for your reply. When do you think the fix will be delivered?

    Thanks,
    Alex
  5. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 22 Jan 2015 Link to this post

    Hi Alex,

    I can't provide a concrete timeline for it, currently. Since it is a change in the menu behavior (although somewhat obscure one), I think that we will introduce it in the next major release, since changes of such kind are not to be expected in the maintenance releases. 

    Regards,
    Petyo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready