Form's iframe height is constantly recalculated on iOS

  • webstudent_suu
    Asked on October 14, 2016 at 1:07 PM

    In Safari for iOS 10, the form on our page constantly recalculates its iframe height, causing the bottom of the page to jiggle up and down. It has happened on multiple iPhones. It does not happen on iOS 9. It does not happen on other form pages on our site (such as https://www.suu.edu/testing-center/testing-intake.html).

    I connected Safari for Mac to my iPhone so I could try to debug the issue. As far as I can tell, it comes down to the condition check `window.parent != window` on line 3608 of jotform.forms.js (the `iframeHeightCaller` function). This condition shows that `window.parent` IS equal to `window` when the issue is expressed. I have no idea why this happens.

    Please look into this and let me know if I can help debug this further.

    Thank you,

    Tyler Mumford
    Southern Utah University

  • Mike
    Replied on October 14, 2016 at 3:52 PM

    Thank you for contacting us.

    Is this issue still happening? I do not have an iOS device to test this, but when I check with simulator app via https://www.browserstack.com your embedded form seems to be working properly.

  • webstudent_suu
    Replied on November 4, 2016 at 1:22 PM

    Yes, the issue is still happening. I accidentally created two posts for this issue; see https://www.jotform.com/answers/961337-Form-s-iframe-height-is-constantly-recalculated.

  • Mike
    Replied on November 4, 2016 at 4:04 PM

    Your second thread has been updated. Thank you.