repositionFrameId) {
            cancelAnimationFrame(this._repositionFrameId);
            this._repositionFrameId = null;
          }
        }

        _hidePopoverInternal() {
          if (this.trigger) {
            this.trigger.setAttribute("aria-expanded", "false");
          }
          this.style.visibility = "";
          this.clearSearchString();
          this.clearActiveOption();

          window.removeEventListener(
            "resize",
            this._handleWindowResizeOrScroll
         