Streaming live at 10am (PST)

Disable Scrolling while Preloader

I used this code (https://webflow.com/website/brota-disable-scroll) to disable scrolling. This code works after a click on a button and stops when clickling on the button again.
I wondered if anyone would know a way to do this with a prelaoder?
I found this article
Disable scroll until animation is completed
but as I have to do it for multiple pages I was wondering if anyone has custom code for it?


https://preview.webflow.com/preview/seeschloessle?utm_medium=preview_link&utm_source=designer&utm_content=seeschloessle&preview=64eba4c9d00b985371fedf039fc3a953&mode=preview
[1]: http://
[2]: https://university.webflow.com/article/sharing-your-sites-read-only-link