Why does simple website crash on mobile (iOS Safari and Chrome, at least)?

后端 未结 7 1385
深忆病人
深忆病人 2021-01-30 18:42

I have a website that is very simple, but very long -- a lot of text that could be scrolled through. It\'s a documentation site, and considering the nature of the content (a lot

7条回答
  •  野的像风
    2021-01-30 18:53

    Removing position: sticky; helped me and my mobile safari crashing issues. Not sure exactly why.

    body:before{
        position:-webkit-sticky;
        position:sticky;
    }
    

提交回复
热议问题