export function getViewPortHeight(cell) {
  let currentElem = cell;
  while (currentElem) {
    const viewPort = currentElem.querySelector("[ref=eBodyViewport]");
    if (viewPort) {
      return viewPort.getBoundingClientRect().bottom;
    }
    currentElem = currentElem.parentElement;
  }
}
