code: function restore() {
      if (isPrevented) {
          const { body } = document;
          if (previousStyles) {
              body.setAttribute('style', previousStyles);
          } else {
              body.removeAttribute('style');
          }
  
          window.scrollTo(...previousPosition);
          resizeUtil.removeEventListener('', recalculate);
          isPrevented = false;
      }
  }
docs: Restores scrolling of the `<body>` element.
  
  This will also restore the scroll position, and inline body styles from before the body
  scroll was prevented. You should not call this function without first preventing the
  body scroll.