mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Removing stale comment
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
fb8f5cfc82
commit
7a6d82fd05
@ -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,
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user