css - Is there a bug in the new iOS 7.1 minimal-ui viewport setting? -
the new "minimal ui" setting in ios 7.1 great landscape websites. web app uses fullscreen, absolute positioned div content, give app-like feeling. safari seems add height of url bar @ bottom. have tried on different iphones, same result...
here how looks after pages loaded:
is bug or doing wrong or missing?
i had same problem iphone5+ios7.1+minimal-ui. code fixes trouble.
window.addeventlistener('scroll', function () { // not scroll when keyboard visible if (document.activeelement === document.body && window.scrolly > 0) { document.body.scrolltop = 0; } }, true);
Comments
Post a Comment