Closed Maculotti closed 6 years ago
Same issue on iOS not working.
Fix incoming in next release. Currently in dev
branch. Thanks for reporting.
https://github.com/lokesh/lightbox2/pull/611
I can't see the image anymore because the image container it's pushed down and the container is fixed. @davemin is it working in your case?
May I suggest that if the options disableScrolling it's true always position the lightbox like this: top: 50% transform: translateY(-50%);
instead of using top: window.scrollTop() so it will be in the center of the fixed container.
Thanks
Hello there, I set the option disablescrolling as a true but on a mobile device I can still scroll. Why? this is my code:
I guess it's due to the hight of #lightboxOverlay element and the value applied to #lighbox element.