Answers for "Disable Scrolling with JavaScript"

4

javascript disable scrolling on body

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

javascript cancel scroll

const pause = (scroll) => window.clearTimeout(scroll)
Posted by: Guest on January-15-2021

Code answers related to "Disable Scrolling with JavaScript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language