The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(drag): stop blur listener leak on sidebar and shell drag gestures\n\nA Tailwind codemod renamed the CSS class blur → blur-sm, but also\ncorrupted two event-name string literals that happened to contain\nthe word "blur". The result: removeEventListener('blur-sm', …) never\nmatched the paired addEventListener('blur', …), so every sidebar or\nshell drag that ended via a window blur (e.g. alt-tab) leaked the\npointermove + pointerup + pointercancel listeners for the lifetime of\nthe session.\n\nFix: correct the event name in removeEventListener back to 'blur' in\nboth Sidebar.tsx (detach) and RootShellLayout.tsx (detach).\n\nCloses #5898\n
shanu1a0ddcdbcab5
diff --git a/app/src/components/layout/shell/RootShellLayout.tsx b/app/src/components/layout/shell/RootShellLayout.tsxindex 8e15f7dc0c..bca788fe2d 100644--- a/app/src/components/layout/shell/RootShellLayout.tsx+++ b/app/src/components/layout/shell/RootShellLayout.tsx@@ -182,7 +182,7 @@ export default function RootShellLayout({ sidebar, children, unframed }: RootShefunction detach() {window.removeEventListener('pointerup', stop);window.removeEventListener('pointercancel', stop);- window.removeEventListener('blur-sm', stop);+ window.removeEventListener('blur', stop);document.body.style.removeProperty('cursor');document.body.style.removeProperty('user-select');draggingRef.current = false;diff --git a/app/src/components/ui/Sidebar.tsx b/app/src/components/ui/Sidebar.tsxindex b4767d957e..eae4bb9451 100644--- a/app/src/components/ui/Sidebar.tsx+++ b/app/src/components/ui/Sidebar.tsx@@ -280,7 +280,7 @@ export const SidebarRail = forwardRef<HTMLDivElement, SidebarRailProps>(window.removeEventListener('pointermove', handleMove);window.removeEventListener('pointerup', detach);window.removeEventListener('pointercancel', detach);- window.removeEventListener('blur-sm', detach);+ window.removeEventListener('blur', detach);detachRef.current = null;};