Popups rendering in backend page builder
-
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 inlinedisplay: 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?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Popups rendering in backend page builder’ is closed to new replies.