Site icon Puneet Sharma – Freelance Web Developer

Make page stop scrolling when lightbox is active

Add overflow: hidden to your body when you show the lightbox and overflow: auto when you hide it.

Exit mobile version