npr / responsiveiframe

Responsive IFrames

Home Page:http://npr.github.com/responsiveiframe/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update height on resize

aronvandervalk opened this issue · comments

Hi,

I've setup a testcase with the responsiveiframe plugin in combination with isotope and it works fine. Except when I resize the window in a rather fast way, then it doesn't resize the iframe correctly, causing some items to 'fall off'. The console outputs the calculated height.

On load it always displays the correct height, fitting all elements correctly.

Parent:
http://avont.nl/schepnet/iframe_testcase/parent/

Child:
http://avont.nl/schepnet/iframe_testcase/child/

Is there a way to trigger the height on resize correctly?