Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: preserve previous overflow in scroll lock, add platform.js header
Adam Eivybc34e70e7cf5
diff --git a/client/src/hooks/useScrollLock.js b/client/src/hooks/useScrollLock.jsindex 3512b88934..2b5f39f863 100644--- a/client/src/hooks/useScrollLock.js+++ b/client/src/hooks/useScrollLock.js@@ -1,15 +1,17 @@import { useEffect } from 'react';let lockCount = 0;+let savedOverflow = '';export function useScrollLock(active) {useEffect(() => {if (!active) return;+ if (lockCount === 0) savedOverflow = document.body.style.overflow;lockCount++;document.body.style.overflow = 'hidden';return () => {lockCount--;- if (lockCount === 0) document.body.style.overflow = '';+ if (lockCount === 0) document.body.style.overflow = savedOverflow;};}, [active]);}diff --git a/client/src/utils/platform.js b/client/src/utils/platform.jsindex d86479fbee..0f59a597da 100644--- a/client/src/utils/platform.js+++ b/client/src/utils/platform.js@@ -1,3 +1,4 @@+/** Platform detection — provides isMac flag and modifier key label for keyboard shortcuts */export const isMac = typeof navigator !== 'undefined' &&(/Mac|iPhone|iPad|iPod/.test(navigator.userAgentData?.platform ?? navigator.platform ?? ''));