diff --git a/src/renderer/components/scroll-spy/scroll-spy.tsx b/src/renderer/components/scroll-spy/scroll-spy.tsx index 875866362b..e9ab51acc0 100644 --- a/src/renderer/components/scroll-spy/scroll-spy.tsx +++ b/src/renderer/components/scroll-spy/scroll-spy.tsx @@ -64,9 +64,6 @@ export function ScrollSpy(props: Props) { const observeSections = () => { const options: IntersectionObserverInit = { threshold: [0], - // Shrinking root area from the bottom - // Allows to fire observer event only if target scrolled up to top of the page) - // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#creating_an_intersection_observer rootMargin: props.rootMargin, };