Mobile web: -webkit-overflow-scrolling: touch conflicts with position:fixed

后端 未结 1 1107
借酒劲吻你
借酒劲吻你 2020-12-17 16:07

I use position: fixed to create a fixed top navigation menu on my mobile web application.

After adding -webkit-overflow-scrolling: touch, t

相关标签:
1条回答
  • 2020-12-17 16:38

    After two days struggling, I found this post saves me: 100% screen height css.

    I have to limit the height of my content area to be the same height of the screen. Please find the working demo here: http://jsbin.com/tubaqaqumi/3/ (visit from a real phone; a Chrome simulator doesn't tell the difference).

    0 讨论(0)
提交回复
热议问题