Answers for "prevent background scrolling when displaying popup"

4

how to stop background scrolling when popup is open

document.body.style.overflow = 'hidden';
Posted by: Guest on August-17-2020

Code answers related to "prevent background scrolling when displaying popup"

Code answers related to "Javascript"

Browse Popular Code Answers by Language