-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
There was a recent fix merged for anchor ads that corrected the incorrect div resizing: PR #13701.
However, after this fix, another issue has appeared: once the anchor ad is resized, the ad alignment is stuck to the left side of the screen instead of maintaining proper centering or expected alignment. This issues appears only in Safeframe creatives.
This does not happen in case of TOP_ANCHOR.
Steps to Reproduce:
- Implement an anchor ad unit with Prebid.js.
- Ad should be rendered inside a Safeframe
- Once the ad gets rendered, our resize function executes.
- Observe that while the height/size updates correctly (fixed in PR Core: Fixing anchor ads rendering issue #13701), the ad
divsnaps to the left instead of staying centered.
Expected Behavior:
The anchor ad should remain correctly aligned (centered or as per original placement) after resizing.
References:
Screenshot:
Additional Question:
Can we support 1x1 creative resizing in the case of anchor ads?
Currently, this doesn't seem to happen. Is there a known limitation here, or something that needs to be explicitly enabled?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status