slightly reduce threshold
This commit is contained in:
@@ -31,7 +31,7 @@ function AppLayout(props: { children: any }) {
|
|||||||
} = useBars();
|
} = useBars();
|
||||||
|
|
||||||
let lastScrollY = 0;
|
let lastScrollY = 0;
|
||||||
const SCROLL_THRESHOLD = 100;
|
const SCROLL_THRESHOLD = 75;
|
||||||
|
|
||||||
// Use onMount to avoid hydration issues - window operations are client-only
|
// Use onMount to avoid hydration issues - window operations are client-only
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user