feat(SW-392): Added tab navigation click tracking
This commit is contained in:
@@ -16,7 +16,7 @@ export default function useScrollSpy(
|
||||
// Make sure only to activate the section when it reaches the top of the viewport.
|
||||
// A negative value for rootMargin shrinks the root bounding box inward,
|
||||
// meaning elements will only be considered intersecting when they are further inside the viewport.
|
||||
rootMargin: "-8% 0% -90% 0%",
|
||||
rootMargin: "-15% 0% -85% 0%",
|
||||
threshold: 0,
|
||||
...options,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user