IPhone : Challenge: Position fixed in an iOS iframe

on Sunday, February 22, 2015

So we all know that as of iOS 8.1.3 iframes render in their full length rather than being scrollable.


We can work around that with a wrapping div outside the iframe with style height:Xpx; overflow-y:scroll; -webkit-overflow-scrolling:touch which works really well, apart from fixed elements in the iframe appearing as absolutely positioned.


Solutions?


Bonus challenge: You have no control over the contents of the iframe, or what the fixed elements are / how many.


0 comments:

Post a Comment