Slow loading images mess up the resize logic. If an image takes longer to load than than it takes for the Provider to trigger resize, the image won't be accounted for in the resize calculation. When the image does finally load, the iframe will be too small.
I think the Provider needs to add an event handler to trigger resize logic whenever an image loads
Description of Issue
Slow loading images mess up the resize logic. If an image takes longer to load than than it takes for the Provider to trigger resize, the image won't be accounted for in the resize calculation. When the image does finally load, the iframe will be too small.
I think the Provider needs to add an event handler to trigger resize logic whenever an image loads
usecapture is required because image load events don't bubble.