Using '-webkit-overflow-scrolling: touch' hides content while scrolling/dragging

前端 未结 2 1612
余生分开走
余生分开走 2020-12-14 10:22

as the title says I\'m having the problem with content getting hidden while scrolling/dragging the content when using the CSS property -webkit-overflow-scrolling: touc

2条回答
  •  無奈伤痛
    2020-12-14 10:40

    Have you tried putting the elements into memory?

    If not, try putting .items in memory using the css -webkit-transform: translate3d(0,0,0);

    You may want to go higher or lower in the nesting depending on performance, ie applying the translate to .page or .item. This will increase the memory used which can get crashy but it helps the browser redraw everything.

    Anyways, hope that helps!

提交回复
热议问题