Disable background scrolling when mobile menu is active (opened)

Thank you Joe Hoff for link, did saw that.

When your using that Javascript, it based on a separate open and close button. In this case the hamburger menu is the open and close button. So instead of “click” state it should be something else?

<script>
Webflow.push(function() {
  $('.menu-button-class').click(function(e) {
e.preventDefault();
	$('body').css('overflow', 'hidden');
  });

  $('.menu-class-name').click(function(e) {
e.preventDefault();
	$('body').css('overflow', 'auto');
  });
});
</script>