Title: Plugin closing burgermenu
Last modified: May 25, 2022

---

# Plugin closing burgermenu

 *  Resolved [grw1](https://wordpress.org/support/users/grw1/)
 * (@grw1)
 * [4 years ago](https://wordpress.org/support/topic/plugin-closing-burgermenu/)
 * Hello,
    We have installed your plugin on our site and have recently noticed that
   the burger menu gets closed if we open it before your plugin loads.
 * We have tried to troubleshoot it and it seems to be your plugin closing the menu.
   We have tried disabling the plugin and then opening the menu again quickly after
   the page has loaded or just as soon as it becomes visible and here the menu does
   not get closed as it did with your plugin active.
 * Thank you very much in advance!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-closing-burgermenu%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * (@mooveagency)
 * [4 years ago](https://wordpress.org/support/topic/plugin-closing-burgermenu/#post-15677001)
 * Hi [@grw1](https://wordpress.org/support/users/grw1/)
 * Thanks for using our plugins.
 * The issue is mostly theme related. There is an event on “click” to close the 
   menu if it’s open, this is coming from the theme.
 * Our plugin triggers a “click” event when it’s initialized to change the cookie
   switchers based on cookies detected.
 * The best approach for these push menus is to add an overlay element to the site
   which is hidden when the menu is closed. When the menu is open, the overlay becomes
   fixed (full width and full height) and should cover everything in the page, except
   the menu items.
 * Your developers can replace the “document.click” event with “overlay.click” which
   should resolve this issue on your site.
 * Hope this helps.
 *  Thread Starter [grw1](https://wordpress.org/support/users/grw1/)
 * (@grw1)
 * [4 years ago](https://wordpress.org/support/topic/plugin-closing-burgermenu/#post-15677063)
 * Ah okay, good to know!
    Thanks for the suggestion – I’ll try that route!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin closing burgermenu’ is closed to new replies.

 * ![](https://ps.w.org/gdpr-cookie-compliance/assets/icon-256x256.png?rev=2376316)
 * [GDPR Cookie Compliance - Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law](https://wordpress.org/plugins/gdpr-cookie-compliance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr-cookie-compliance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr-cookie-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr-cookie-compliance/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [grw1](https://wordpress.org/support/users/grw1/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/plugin-closing-burgermenu/#post-15677063)
 * Status: resolved