[removed] and scrolling on iOS 5

后端 未结 5 534
说谎
说谎 2020-11-28 02:37

iOS 5 has brought a number of nice things to JavaScript/Web Apps. One of them is improved scrolling. If you add

-webkit-overflow-scroll:touch;
5条回答
  •  孤街浪徒
    2020-11-28 02:42

    It was frustrating to discover a known problem with stopPropagation and native div scrolling. It does not seem to prevent the onTouchMove from bubbling up, so that when scrolling beyond the bounds of the div (upwards at the top or downwards at the bottom), the entire page will bounce.

    More discussion here and here.

提交回复
热议问题