Creating a “sticky” fixed-position item that works on iOS Safari

后端 未结 5 1836
伪装坚强ぢ
伪装坚强ぢ 2020-12-08 08:40

On iOS safari, one-finger panning doesn’t generate any events until the user stops panning. An onscroll event is only generated when the page stops moving and redrawn.

5条回答
  •  难免孤独
    2020-12-08 09:13

    Old topic for sure, but I can see alot of visits here. If all you want, is a sticky menu, you can use fixed positioning. No need for iScroll there.

提交回复
热议问题