117 posts
  • Has referred 50+ members
  • Has sold $125,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+5 more
nagaemas says

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

2030 posts
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Provided great feedback to improve the user experience on Envato Market
  • Interviewed on an Envato blog
+9 more
revaxarts says

search for

-webkit-overflow-scrolling:touch;

Hope that helps!

117 posts
  • Has referred 50+ members
  • Has sold $125,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+5 more
nagaemas says

search for
-webkit-overflow-scrolling:touch;
Hope that helps!

Tried that already, doesn’t help :(

1484 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
OriginalEXE says
by
by
by
by
by
by