Prevent Page Scrolling When a Modal is Open

added by JavaScript Kicks
6/3/2019 8:20:26 PM

507 Views

Please stop me if you've heard this one before. You open a modal, scroll through it, close it, and wind up somewhere else on the page than you were when you opened the modal. That's because modals are elements on a page just like any other.


0 comments