refactor: Disable useDrag hook when main menu is not openable (#35414)

This commit is contained in:
diondiondion authored and GitHub committed 2025-07-17 12:39:40 +00:00
1 parent 138746bdcc
commit a842b14c84
1 file changed
+1
@@ -431,6 +431,7 @@ export const CollapsibleNavigationPanel: React.FC = () => {
filterTaps: true,
bounds: isLtrDir ? { left: 0 } : { right: 0 },
rubberband: true,
enabled: openable,
},
);