code: function scrollToFocused(e) {
      const currPanel = e.currentTarget;
      const currOption = e.target;
      // Up
      if (currOption.offsetTop < currPanel.scrollTop) {
        currPanel.scrollTop = currOption.offsetTop;
      // Down
      } else {
        currPanel.scrollTop = (currOption.offsetTop + currOption.clientHeight)
        - currPanel.clientHeight;
      }
    }
docs: When the option is outside the visible part of the opened panel, updates the scrollTop position This is the default behaviour To block it the plugin user must add a "custom-select:focus-outside-panel" eventListener on the panel with useCapture set to true and stopPropagation