New Fixed position bug on iOS8

前端 未结 3 1462
天涯浪人
天涯浪人 2020-12-19 02:54

I have a site with a fixed header and slide-out sidebars. With iOS7 in portrait orientation, the fixed header stays fixed when the sidebar is visible, but on iOS8 the header

3条回答
  •  情话喂你
    2020-12-19 03:27

    I was trying to do something similar (see here and here) then found that Apple has published a technical note recommending that fixed positioning be avoided. I swear it worked fine in iOS 7, but now with iOS8 it no longer "sticks".

    This problem seems closely related to setting this meta tag:

        
    

    See also: Fix div to bottom without using css position

提交回复
热议问题