You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of that works perfectly but I can not get the disableScrolling function to work. I have changed the setting to 'true' but it doesn't appear to be initializing the body.lb-disable-scrolling function. I tried adding an option script in the index html, that didn't work, I tried adding an overflow property in the lightbox css, that didn't work. Im wondering if maybe something I added for the gesture control is affecting the overflow function? or maybe something else. I'm really not sure at this point
Hello
I recently updated my website with lightbox2, and added some code in order to use swipe on mobile as detailed here; https://stackoverflow.com/questions/28409847/lightbox2-swipe-gesture-for-touchscreens
All of that works perfectly but I can not get the disableScrolling function to work. I have changed the setting to 'true' but it doesn't appear to be initializing the body.lb-disable-scrolling function. I tried adding an option script in the index html, that didn't work, I tried adding an overflow property in the lightbox css, that didn't work. Im wondering if maybe something I added for the gesture control is affecting the overflow function? or maybe something else. I'm really not sure at this point
any help would be appreciate. you can view my website at https://www.nathanbrookes.info/ to see what I'm talking about
thanks!
The text was updated successfully, but these errors were encountered: