Fix issue with native ads being resized incorrectly (1.14 patch)#190
Conversation
|
@dgirardi The test case you prepared is actually visualized better, even though I still see the height around 100px . I think the proper size should be height ~380. Can it be because of some css properties that are tricking the browser? hmm. Here's an example of what I see, with firefox and chrome: The only way to see the ad fully loaded is to wrap Values smaller than 300 will not cause the ad to fully show. Of course I am not suggesting to wrap the function with a setTimeout, but I was curious to know if you see what I see and what do you think about it |
|
I've done a test and if I exclude the image from the HTML the height of the creative is exactly Based on my tests, it hugely depends on the time needed to load the image, but in the end it will resize the ad no matter what. |
|
@musikele, for this patch I would prefer to revert to 1.13 behavior. For a proper fix I think it's necessary to do more testing, especially against stylesheets that have been built around 1.13. |
musikele
left a comment
There was a problem hiding this comment.
LGTM, the behaviour is the same of PUC 1.13
|
@dgirardi do you think I should open an issue to PUC for discussing this? |


Addresses prebid/Prebid.js#9171
This test page shows incorrect rendering on latest (currently 1.14):