WPIntell

Source evidence

Fixed positioning context

Simple Popup Block · support · 2024-03-15T16:30:00+00:00

complaintsentiment
mediumseverity
0.86relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 23 rows with source links

17.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

19 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Jory Hogeveen unresolved
Hi @codemanas , First of all, thank you for this plugin, love it’s effectiveness without any bloat. I couldn’t find any public repo so I’ll just publish it here. When the post content is nested under an element that has the CSS properties filter or transform set the popup doesn’t position as expected anymore. This is because at this moment the popup is rendered within the site content. Transform and filter CSS properties will change the popup’s location in context to this element’s location and size instead of the browser viewport. For this reason I would like to suggest an opt-in setting for the popup to render in the site root (or after an element defined with an ID selector). This way it could render the popup within the <body> tag and therefore fix any fixed positioning issues. Let me know your thoughts and in the case there is a public repo I’d be happy to help. Cheers, Jory Quick note for anyone looking for a quick-and-dirty fix for this: ( function($) { $(window).on( 'load', function() { $( '.wp-block-codemanas-simple-popup-block' ).appendTo( 'body' ); } ); } )(jQuery); Hi Jory, Thank you for pointing this issue out and providing the quick-and-dirty, fix. We are currently working on ways to improve the plugin an ETA isn’t available but we hope to provide some improvements soon.

Comments

2 shown
Jory Hogeveen 2024-03-15T16:35:00+00:00

Quick note for anyone looking for a quick-and-dirty fix for this: ( function($) { $(window).on( 'load', function() { $( '.wp-block-codemanas-simple-popup-block' ).appendTo( 'body' ); } ); } )(jQuery);

digamberpradhan 2024-03-22T07:36:00+00:00

Hi Jory, Thank you for pointing this issue out and providing the quick-and-dirty, fix. We are currently working on ways to improve the plugin an ETA isn’t available but we hope to provide some improvements soon.