We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6ea175 commit b119350Copy full SHA for b119350
src/components/containers/useScrollContainerLogic.ts
@@ -61,11 +61,7 @@ export const useScrollContainerLogic = ({
61
const showNavBar = useDerivedValue(() => {
62
if (!largeHeaderExists) return withTiming(scrollY.value <= 0 ? 0 : 1, { duration: 250 });
63
64
- if (largeHeaderHeight.value === 0) return 1;
65
-
66
- if (largeHeaderHeight.value < adjustmentOffset) {
67
- return 0;
68
- }
+ if (largeHeaderHeight.value < adjustmentOffset) return 0;
69
70
if (largeHeaderShown) {
71
largeHeaderShown.value = withTiming(
0 commit comments