Locking `body` scroll for modals on iOS | Jay Freestone
Briefly

Stop me if you've heard this one before:


You have a site with a fixed overlay, such as a modal.You open the modal and scroll it.By the time you hit the end of the modal (or even sooner), the background behind it starts coming along for the ride.For most browsers, setting overflow: hidden on the body (once the overlay is open) is sufficient.
Read at Jayfreestone
[
add
]
[
|
|
]