setScrollingVisibility = (container, popup) => {
  if (dom.hasCssAnimation(popup)) {
    container.style.overflowY = 'hidden'
    popup.addEventListener('animationend', swalOpenAnimationFinished)
    popup.addEventListener('transitionend', swalOpenAnimationFinished)
  } else {
    container.style.overflowY = 'auto'
  }
}
@param {HTMLElement} container
@param {HTMLElement} popup