fix animation

This commit is contained in:
Tom (plebeius.eth)
2024-10-14 11:57:17 +02:00
parent 8e245a4759
commit 3918d231c6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
position: fixed;
width: 100%;
z-index: 3;
transition: top 0.3s ease-in-out;
transition: top 0.2s ease-in-out;
align-items: center;
justify-content: space-around;
}
+1 -1
View File
@@ -159,7 +159,7 @@ const TopBarMobile = ({ subplebbitAddress }: { subplebbitAddress: string }) => {
setVisible(prevScrollPos > currentScrollPos || currentScrollPos < 10);
prevScrollPosRef.current = currentScrollPos;
}, 25);
}, 50);
window.addEventListener('scroll', debouncedHandleScroll);