willmcpo / body-scroll-lock

Body scroll locking that just works with everything 😏
MIT License
4.04k stars 337 forks source link

iPad OS 13.3.1 does not lock body scroll for "Request Desktop Website" #163

Closed ejoflo closed 4 years ago

ejoflo commented 4 years ago

When testing body scroll lock on an iPad Pro using iPad OS 13, the user is still able to scroll the parent element. In my case, I am loading a Modal. The background (parent) is still scrollable.

If I "Request Mobile Site" body scroll lock works again. I also noticed that while in "Request Desktop Website" mode, the scrolling becomes glitched and element's z-index of modal and body sometimes overlap.

diachedelic commented 4 years ago

Duplicate of #156 , which will be fixed in an upcoming release