Dealing with iOS 8 Mobile Safari bugs?

Hi guys, I have an idea that could make the whole thing more usable on iOS. Since i have some troubles on getting a working dev version, i can explain how to fix it. And there are two kind of fixes:

The most easiest way to fix is to add when compose window is visible:

body, html {height:100%; overflow:hidden}

Surely, this will make impossible to scroll between existing posts, but… at we will have a functional compose window.

The other solution would be a bit trickier to implement, but with good results. First, we need to move #reply-control div outside of #main div. Then, some CSS magic:

body, html {height:100%; overflow:hidden}
#main { height:100%; overflow:auto; -webkit-overflow-scrolling: touch; }
#reply-control { position:absolute }

In my quick tests (safari + GapDebug), everything play nicely.

5 Likes