I'm trying to keep scrollbar visible but disable scrolling while the image is in the front.
lightbox2.option({
disableScrolling: false,
})
I'm using this option from the Lightbox2 library but this also hides scrollbar.
Use case: When an image is opened in this library, all content of the page is moved a little bit to right because the scrollbar dissapears. I want to disable this unwanted movement.
Is there any way how to do it quickly ? Or at least how to find out if the library is currently activated (image is in front) ?