Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disableScrolling/overflow hidden not working #737

Open
nathanbrookes opened this issue Jun 22, 2023 · 1 comment
Open

disableScrolling/overflow hidden not working #737

nathanbrookes opened this issue Jun 22, 2023 · 1 comment

Comments

@nathanbrookes
Copy link

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!

@syl-frontDev
Copy link

Just downloaded the file and i have the same issue. Can someone please help??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants