diff --git a/src/utils/scrollIntoView.ts b/src/utils/scrollIntoView.ts index c25b8a4f..6ce31089 100644 --- a/src/utils/scrollIntoView.ts +++ b/src/utils/scrollIntoView.ts @@ -10,7 +10,7 @@ export function scrollIntoView( elementId: string, scrollContainerId: string = "pages", - threshold: number = 0.2, + threshold: number = 0.9, ) { const element = document.getElementById(elementId); const scrollContainer = document.getElementById(scrollContainerId);