• It seems that popups are rendering in the backend when using Divi. Specifically, .spu-bg and .spu-box divs. The .spu-box divs are hidden with inline display: none, but the .spu-bg divs are not hidden, and so the entire page builder (in our case) is covered by the popup background color (black for us).

    Quick fix is to return an empty array for matches when is_admin() is truthy:

    add_filter( 'spu/check_for_matches', function ( $matches ) {
    	if ( is_admin() ) {
    		return array();
    	}
    	return $matches;
    } );

    This is not ideal however. What’s the proper way to fix? Can it be fixed in core?

    • This topic was modified 3 years, 7 months ago by crstauf.
Viewing 1 replies (of 1 total)
  • Thread Starter crstauf

    (@crstauf)

    Turns out that the quick fix provided above doesn’t work. At some point it seemed to, but the black screen is back even with the quick fix in place.

    Looks like page caching may have skipped the filter.

Viewing 1 replies (of 1 total)
  • The topic ‘Popups rendering in backend page builder’ is closed to new replies.