refactor: Disable useDrag hook when main menu is not openable (#35414)
This commit is contained in:
committed by
David Roetzel
parent
a250928934
commit
a89d11bc08
@@ -431,6 +431,7 @@ export const CollapsibleNavigationPanel: React.FC = () => {
|
||||
filterTaps: true,
|
||||
bounds: isLtrDir ? { left: 0 } : { right: 0 },
|
||||
rubberband: true,
|
||||
enabled: openable,
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user