Popups rendering in backend page builder
-
It seems that popups are rendering in the backend when using Divi. Specifically,
.spu-bgand.spu-boxdivs. The.spu-boxdivs are hidden with inlinedisplay: none, but the.spu-bgdivs 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.