iframes, iOS and Websites with 100% html, body height

Hi, just now someone told me that one of my items with a fullscreen slider doesn’t work on the iPad before closing the iframe.

Then I looked around and figured out that themes with full screen slider (with html, body height set to 100%) suffers from the same problem if viewed inside the iframe on iOS. The content of the fullscreen element stretches really height covering the whole page height.

Tested this on ThemeForest preview frame and my own frame, the issue happens on both frames.

This is caused by how iOS handles 100% height on elements, it doesn’t take the viewport’s height but the whole page’s height instead and I think this is not good for themes because most likely people will just close it away after seeing how bad it looks.

Is there anyone who knows a work around for this?

Thank you

search for

-webkit-overflow-scrolling:touch;

Hope that helps!

revaxarts said

search for

-webkit-overflow-scrolling:touch;

Hope that helps!

Tried that already, doesn’t help :frowning:

Did you read this article, seems very detailed to me: http://dev.magnolia-cms.com/blog/2012/05/strategies-for-the-iframe-on-the-ipad-problem/