This commit is contained in:
tamaina 2023-07-14 13:11:59 +00:00
parent 04ff07e4e7
commit f30275a975
1 changed files with 2 additions and 2 deletions

View File

@ -165,8 +165,8 @@ const timerForSetPause = ref<number | null>(null);
//#region scrolling
const checkFn = props.pagination.reversed ? isBottomVisible : isTopVisible;
const checkTop = (tolerance?: number) => {
if (!contentEl) return;
if (!document.body.contains(contentEl)) return;
if (!contentEl) return true;
if (!document.body.contains(contentEl)) return true;
return checkFn(contentEl, tolerance, scrollableElement);
};
/**