-webkit-overflow-scrolling: touch; breaks in Apple's iOS8

前端 未结 10 1382
刺人心
刺人心 2020-11-30 20:19

I\'m working on a web app that uses -webkit-overflow-scrolling:touch in several places to give the overflown divs inertia scrolling.

Since updating to I

10条回答
  •  温柔的废话
    2020-11-30 21:07

    i fixed my issue by adding some inline css to the scrollable div with jquery.. adding the css to the div after the dom is loaded makes scrolling work.

    $('.lightbox__scrollable-content').css('overflow-y', 'scroll');
    

提交回复
热议问题