Title: hide scroll behaviour during loading
Last modified: April 6, 2023

---

# hide scroll behaviour during loading

 *  Resolved [benny0](https://wordpress.org/support/users/benny0/)
 * (@benny0)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/hide-scroll-behaviour-during-loading/)
 * The plugin is perfectly working but I would like to disable scrolling until the
   loading is done.
 * It is possible? Should be a good feature to add.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/hide-scroll-behaviour-during-loading/#post-16634417)
 * Hello [@benny0](https://wordpress.org/support/users/benny0/)
 * Could you please indicate the link to the page to check the scrolling issue in
   detail?
 * Best regards.
 *  Thread Starter [benny0](https://wordpress.org/support/users/benny0/)
 * (@benny0)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/hide-scroll-behaviour-during-loading/#post-16634442)
 * Hi, I would like to send you the link but I don’t want to share the link of my
   site here, I am working for a client. I hope you understand.
 * Can I send it to you in another way?
 * Thank you
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/hide-scroll-behaviour-during-loading/#post-16634492)
 * Hello [@benny0](https://wordpress.org/support/users/benny0/)
 * Please, follow the instructions below:
 * Enter the following piece of code through the menu option “Appearance > Customize
   > Additional CSS”:
 *     ```wp-block-code
       body{height:100%;width:100%;overflow:hidden;}
       ```
   
 * Our plugin triggers the` loadingScreenCompleted` event after loading the page
   and completing the additional time interval you assign the loading screen. So,
   you must enter the following piece of code into a script you know the theme loads:
 *     ```wp-block-code
       <script>
       jQuery(document).on('loadingScreenCompleted', function(){
       jQuery('body').css('overflow', 'auto');
       });
       </script>
       ```
   
 * Best regards.
 *  Thread Starter [benny0](https://wordpress.org/support/users/benny0/)
 * (@benny0)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/hide-scroll-behaviour-during-loading/#post-16634521)
 * I’m going to try and I will let you know
 * Thanks for now!
 *  Thread Starter [benny0](https://wordpress.org/support/users/benny0/)
 * (@benny0)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/hide-scroll-behaviour-during-loading/#post-16636266)
 * Seems not working, I can still scrolling when the loader is loading.
 * I don’t have Plugins that adds functionalities but I have GSAP JS for animations
   and Lenis JS for Smooth Scrolling.
 * Let me know if this can be a problem.
 * Many thanks
 *  Plugin Author [codepeople](https://wordpress.org/support/users/codepeople/)
 * (@codepeople)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/hide-scroll-behaviour-during-loading/#post-16637085)
 * Hello [@benny0](https://wordpress.org/support/users/benny0/)
 * The style definition `body{height:100%;width:100%;overflow:hidden;}` hides the
   scrolls in the body tag. But I don’t know your page’s structure.
 * I don’t know if your website loads the tags directly on the body or uses a container(
   like a DIV tag) to contain the other page’s tags and applies the scroll to the
   container.
 * Best regards.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘hide scroll behaviour during loading’ is closed to new replies.

 * ![](https://ps.w.org/loading-page/assets/icon-256x256.gif?rev=2316939)
 * [Loading Page with Loading Screen](https://wordpress.org/plugins/loading-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/loading-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/loading-page/)
 * [Active Topics](https://wordpress.org/support/plugin/loading-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/loading-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/loading-page/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [codepeople](https://wordpress.org/support/users/codepeople/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/hide-scroll-behaviour-during-loading/#post-16637085)
 * Status: resolved