if (position === 'above') {
      el.style.top = 'auto';
      el.style.bottom = `${outerRect.bottom - rect.top + 5}px`;
    }