2
I need this to: http://jsfiddle.net/R3PKB/2/embedded/result/, scroll in the existing body inside iframe, but in Safari Mobile it forces iframe to have the maximum height of my content and with that never happens scroll in body.
I need to have this scroll on the body of the iframe content and I can’t change it’s position, because my entire application listens to scroll events and picks up position from the Document scroll.
It is impossible to put 1 wrapper before iframe in my application or make any other modification where the iframe body will no longer have scroll, as this will cause N errors to ².
The amazing thing is only Safari Mobile that has this unusual behavior. Someone has a solution?
I only know "solutions" (i.e., this ) involving Wrappers. Anyway, problems with iframes on iOS are old already. See if this thread doesn’t help you.
– Caio Felipe Pereira
This is why it is always recommended not to use iframe. Try to escape from it whenever possible. Have tried using overflow: scroll; in iframe css <iframe style="overflow: scroll;"> ?
– Ivan Nack
I understood, but if I put <iframe style="overflow: scroll;"> I lose control of scroll and scrollTop events from my iframe content. That doesn’t solve it. Apparently the only solution would be to put 1 wrapper in my iframe content right after BODY and with that wrapper be the person.
– Marlon Maxwel