docs: function getScrollParent(parent, child) {
    let element = child;
    let scrollTop = 0;
  
    while (element && element !== parent) {
      element = element.parentNode;
      scrollTop += element.scrollTop;
    }
    return scrollTop;
  }