1. Home
  2. Knowledge Base
  3. Codex
  4. JS API
  5. JS Actions
  6. doAction( “disabled_scrolling” )

doAction( “disabled_scrolling” )

doAction( "disabled_scrolling" );

Scrolling of the document was disabled. This action is called at the end of DiviArea.Core.disableBodyScroll().


// Enable page scrolling instantly (i.e., scrolling will never be disabled)
DiviArea.addAction( 'disabled_scrolling', function() {


This action is usually called, right after the overlay modal was displayed via DiviArea.showOverlay().

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Get in touch with us