    break;
              case "Enter":
              case " ":
                if (this.searchString === "" && e.key === " ") {
                  e.preventDefault();
                  const activeOpt = this.getAllOptions()[this.activeIndex];
                  if (
                    activeOpt &&
                    activeOpt.getAttribute("aria-disabled") !== "true"
                  ) {
                    this.selectOption(activeOpt);
                  }
                } else if (e.key === "Enter") {
   