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

hoverDelay setting behavior

3 Answers 103 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 17 Jan 2015, 01:11 AM
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>


3 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 20 Jan 2015, 03:54 PM
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!
 
0
Alex
Top achievements
Rank 1
answered on 20 Jan 2015, 05:12 PM
Hi Petyo,

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

Thanks,
Alex
0
Petyo
Telerik team
answered on 22 Jan 2015, 08:54 AM
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!
 
Tags
Menu
Asked by
Alex
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Alex
Top achievements
Rank 1
Share this question
or