[Glitch] refactor: Disable useDrag hook when main menu is not openable

Port a842b14c845e34b42afcb54b31e3a2d32ab25b7f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion 2025-07-17 14:39:40 +02:00 committed by Claire
parent 696ad9d414
commit 40de31ddad

View File

@ -466,6 +466,7 @@ export const CollapsibleNavigationPanel: React.FC = () => {
filterTaps: true,
bounds: isLtrDir ? { left: 0 } : { right: 0 },
rubberband: true,
enabled: openable,
},
);