From a89d11bc08d8efab2d8a3cafe8a22575c165da0a Mon Sep 17 00:00:00 2001 From: diondiondion Date: Thu, 17 Jul 2025 14:39:40 +0200 Subject: [PATCH] refactor: Disable `useDrag` hook when main menu is not openable (#35414) --- app/javascript/mastodon/features/navigation_panel/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/mastodon/features/navigation_panel/index.tsx b/app/javascript/mastodon/features/navigation_panel/index.tsx index b62e8f9fa..66f8a657e 100644 --- a/app/javascript/mastodon/features/navigation_panel/index.tsx +++ b/app/javascript/mastodon/features/navigation_panel/index.tsx @@ -431,6 +431,7 @@ export const CollapsibleNavigationPanel: React.FC = () => { filterTaps: true, bounds: isLtrDir ? { left: 0 } : { right: 0 }, rubberband: true, + enabled: openable, }, );