lokesh / lightbox2

THE original Lightbox script (v2).
http://lokeshdhakar.com/projects/lightbox2/
MIT License
6.17k stars 1.76k forks source link

Fix: incorrect position on mobile and overlay width thin when disable scrolling option set to true #650

Closed lokesh closed 5 years ago

lokesh commented 5 years ago

Removed the iOS disable scroll CSS which was causing bigger issues, including inconsistent positioning of the image on mobile views, and a jump to the top of the viewport/

If the disableScrolling option is set to true, scrolling will still be possible on iOS after this PR is merged.

lokesh commented 5 years ago

Fixes: https://github.com/lokesh/lightbox2/issues/620

emmahsax commented 3 years ago

@lokesh: So disableScrolling does not work on iOS mobile since this has been merged. Are there any plans to fix this on iOS or come up with a new solution that works on iOS and doesn't cause big issues for other mobile views?