Issue with scrolling in iOS 5 using -webkit-overflow-scrolling

后端 未结 4 1696
北恋
北恋 2020-12-28 08:08

I have an HTML page with a fixed-height div which should be scrollable (only vertically). In iOS 5 this can be achieved using:

overflow-y: a         


        
4条回答
  •  心在旅途
    2020-12-28 08:50

    I had the same problem in iOS 5.1.1 and it turned out to be due to an ::after pseudo-element with position: fixed that was on an element that contained the scrollable list exhibiting the "wrong scroll axis" behavior. Details here.

提交回复
热议问题