Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

142
Views
Lightbox2 disable scrolling, keep scrollbar

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) ?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!