aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts
diff options
context:
space:
mode:
Diffstat (limited to 'FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts')
-rw-r--r--FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts b/FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts
index a97d7660..a5812808 100644
--- a/FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts
+++ b/FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts
@@ -41,9 +41,6 @@ const scrollListener = (): void => {
reverseScrollToPosition != null &&
Math.abs(window.scrollY - reverseScrollToPosition) > 50
) {
- console.log(
- `Reverse scroll position coerce. Required: ${reverseScrollToPosition}. Actual: ${window.scrollY}.`
- );
scrollToReverseScrollPosition(reverseScrollPosition);
return;
}
@@ -51,9 +48,6 @@ const scrollListener = (): void => {
reverseScrollToPosition == null &&
Math.abs(window.scrollY - lastScrollPosition) > 1000
) {
- console.log(
- `Scroll jump detected. New: ${window.scrollY}. Old: ${lastScrollPosition}.`
- );
scrollToReverseScrollPosition(reverseScrollPosition);
return;
}