code: function disableEventListeners() {
    if (this.state.eventsEnabled) {
      if (window.cancelAnimationFrame) {
        cancelAnimationFrame(this.scheduleUpdate);
      }
      this.state = removeEventListeners(this.reference, this.state);
    }
  }
docs: It will remove resize/scroll events and won't recalculate popper position
  when they are triggered. It also won't trigger onUpdate callback anymore,
  unless you call `update` method manually.
  @method
  @memberof Popper