.querySelector(".optgroup-label");
                if (groupLabel) {
                  groupLabel.scrollIntoView({
                    block: "nearest",
                    scrollMode: "if-needed",
                  });
                  return;
                }
              }
            }

            newActiveOption.scrollIntoView({
              block: "nearest",
              scrollMode: "if-needed",
            });
          }
        }
      }

      customElements.define("select-element", SelectEl