position:fixed sliding bug in Chrome Mobile

前端 未结 2 768
春和景丽
春和景丽 2021-02-13 12:08

If you view my website in Chrome Mobile on a mobile phone and scroll in any direction, the footer wouldn\'t stay put. Any idea for the cause or a fix?

The CSS code of t

2条回答
  •  别那么骄傲
    2021-02-13 12:51

    In addition to the -webkit-backface-visibility: hidden trick, having an element larger than the page seems to also cause issues with position: fixed (as per this question). It may also be worth adding to your tag.

提交回复
热议问题