diff --git a/AppImage/components/proxmox-dashboard.tsx b/AppImage/components/proxmox-dashboard.tsx index 643a54f..264a444 100644 --- a/AppImage/components/proxmox-dashboard.tsx +++ b/AppImage/components/proxmox-dashboard.tsx @@ -133,13 +133,12 @@ export function ProxmoxDashboard() { const handleScroll = () => { const currentScrollY = window.scrollY - // Only hide navigation if scrolled down more than 100px if (currentScrollY < 100) { setShowNavigation(true) - } else if (currentScrollY > lastScrollY) { + } else if (currentScrollY > lastScrollY + 20) { // Scrolling down - hide navigation setShowNavigation(false) - } else if (currentScrollY < lastScrollY) { + } else if (currentScrollY < lastScrollY - 20) { // Scrolling up - show navigation setShowNavigation(true) } @@ -317,7 +316,7 @@ export function ProxmoxDashboard() {