From cf1b7a792a5efbdfde041eacca75555a54db0662 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Thu, 20 Aug 2026 22:37:47 +0100 Subject: [PATCH] Refactor Sidebar Resizing Logic for Improved User Interaction - Updated the DashboardSidebarSplitter component to change the resize locking mechanism from a timed lock to a pointer-up event lock, enhancing responsiveness during sidebar adjustments. - This change improves user experience by allowing for more intuitive interactions when expanding the sidebar. --- src/components/Dashboard/common/DashboardSidebarSplitter.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Dashboard/common/DashboardSidebarSplitter.jsx b/src/components/Dashboard/common/DashboardSidebarSplitter.jsx index 24a0a77b..b5a84816 100644 --- a/src/components/Dashboard/common/DashboardSidebarSplitter.jsx +++ b/src/components/Dashboard/common/DashboardSidebarSplitter.jsx @@ -248,7 +248,7 @@ const DashboardSidebarSplitter = ({ sidebar, children }) => { if (collapsedRef.current) { if (size - collapsedWidth > EXPAND_DRAG_PX) { expandSidebar() - lockResizeFor(SIZE_TRANSITION_MS) + lockResizeUntilPointerUp() return } setSidebarSize(Math.max(collapsedWidth, size))