Title: Remove delay on hover
Last modified: August 30, 2016

---

# Remove delay on hover

 *  [mtkdaly](https://wordpress.org/support/users/mtkdaly/)
 * (@mtkdaly)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/remove-delay-on-hover/)
 * Hi,
 * I notice there is a slight delay in toggling the visibility when you hover over
   a parent item in the menu.
 * Is it possible to remove this delay so the sub menu displays straight away when
   hovered?
 * Mike
 * [https://wordpress.org/plugins/megamenu/](https://wordpress.org/plugins/megamenu/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/remove-delay-on-hover/#post-6436694)
 * Hi Mike,
 * It’s not possible at the moment but I have just made a change which will make
   it possible in the next version ([https://plugins.trac.wordpress.org/changeset/1222825](https://plugins.trac.wordpress.org/changeset/1222825)).
 * Once released you will be able to use this code in your themes functions.php 
   file:
 *     ```
       function megamenu_remove_hoverintent_delay($array) {
           $array['interval'] = 0;
           return $array;
       }
       add_filter('megamenu_javascript_localisation', 'megamenu_remove_hoverintent_delay', 10, 1);
       ```
   
 * I would not reccomend removing the delay completely as it stops the menu from
   flashing up if the user happens to move their cursor over a menu item, but you
   have the freedom to choose the behaviour yourself now 🙂
 * Regards,
    Tom

Viewing 1 replies (of 1 total)

The topic ‘Remove delay on hover’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [megamenu](https://wordpress.org/support/users/megamenu/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/remove-delay-on-hover/#post-6436694)
 * Status: not resolved