tion(() => {
                  this._hidePopoverInternal();
                });
              } else {
                this._hidePopoverInternal();
              }
            }
          });
        }

        disconnectedCallback() {
          window.removeEventListener(
            "resize",
            this._handleWindowResizeOrScroll
          );
          document.removeEventListener(
            "scroll",
            this._handleWindowResizeOrScroll,
            true
          );
          if (this._