Popups appear without clicking anywhere!?

  1. Home
  2. Knowledge Base
  3. Documentation
  4. Troubleshooting
  5. Popups appear without clicking anywhere!?

We frequently get the question from our users, because their Popups seem to appear randomly. Those are some typical sentences we hear repeatedly:

  • Help, my Popups appear without me doing anything!
  • Why is my Popup displayed when I do not click anywhere?
  • Popups magically/randomly appear, even without clicking anywhere.

Does this describe your issue? Read on to see, how it’s fixed.

Disable Exit-Intent

In 99 % of all cases, the problem is caused by accidentally enabling the Exit-Intent trigger. Luckily, it can be fixed with a couple of clicks:

  1. Open up the Visual Builder to edit the Popup.
  2. Open the Settings-Modal of the Section (the gear icon)
  3. Head over to the “Popup” tab (or, if you have the premium version, the “Divi Area” tab)
  4. Open the section “Behavior
  5. Set the option “Enable Exit Intent” to “NO
  6. Problem solved! Save the page and test the Popup
Make sure “Enable Exit Intent” is set to “NO”

Custom JavaScript

The second option that could cause Popups to appear randomly is a custom JavaScript somewhere. Unfortunately, it’s more difficult to debug and fix that. But if you could write and implement the custom JS code, then you possibly know what to do, to disable it 😉

We’ve seen a case where a (minified) JS file contained outdated code. So, clearing your JS/CSS cache might also solve that issue for you.

Debug custom JS

Enable WP_DEBUG on your webpage. The JS console will display a lot of details about Popups. Search for the line that says “Show area #your-popup-id“. On the very right side of the JS console, you will see the file that triggered the command.

Search for “show area” to find the relevant JS file

Was this article helpful?

Related Content

Halloween Special Discount Grow your email list with potential customers Divi Areas Pro 2.1.2 Meet the new Layout Library, see how you can use the Portability support to migrate Areas and see how our latest layout option can improve your Area designs! doAction( “click_overlay” ) Click on the background overlay detected06 doAction( “hide_overlay” ) Fired after the background overlay was hidden again08 doAction( “show_overlay” ) Fired after the background overlay is displayed04 doAction( “init_overlay” ) Allows custom initialization of the background overlay06 doAction( “resize_area” ) Fired before the Area position is changed07 doAction( “hide_area” ) Fires, once a previously visible Area is hidden again08 doAction( “show_area” ) The Area is visible or the intro-animation has started08 doAction( “area_wrap” ) Fires when the outer wrap of an area was set up07

Related Articles