prebid / prebid-universal-creative

Apache License 2.0
43 stars 69 forks source link

Improve resize logic for native #193

Closed dgirardi closed 1 year ago

dgirardi commented 1 year ago

This is a partial fix for #191 (does not address the case where GPT is set to allowPushExpansion, which needs a change on the Prebid side).

The iframe resize request is now done when the window has completed loading instead of when the rendering logic completes - which gives time for images, scripts, etc to be done.

Tested on Chrome and FF using the same test page from #190.

patmmccann commented 1 year ago

fixes #191