IOS 5 (safari) bug with HTML touch events on “position:fixed” div

前端 未结 7 1951
执念已碎
执念已碎 2021-02-05 22:32

I have a position:fixed div on a scrolling web page.

At first the event works, but when the page scroll, while the fixeed divs stays in place, its \"touch\" zone seems t

7条回答
  •  花落未央
    2021-02-05 22:32

    I'm having the same issue. It seems to be a z-index problem, when the divs are moved programmatically (with animations, etc.): the div in fixed position doesn't work properly since the user doesn't touch again for scrolling. Only in this last case the divs seems to be recomputed correctly.

提交回复
热议问题