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

This commit is contained in:
diondiondion 2025-07-17 14:39:40 +02:00 committed by GitHub
parent 138746bdcc
commit a842b14c84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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