mirror of
https://github.com/mastodon/mastodon.git
synced 2025-09-05 17:31:12 +00:00
refactor: Disable useDrag
hook when main menu is not openable (#35414)
This commit is contained in:
parent
138746bdcc
commit
a842b14c84
|
@ -431,6 +431,7 @@ export const CollapsibleNavigationPanel: React.FC = () => {
|
|||
filterTaps: true,
|
||||
bounds: isLtrDir ? { left: 0 } : { right: 0 },
|
||||
rubberband: true,
|
||||
enabled: openable,
|
||||
},
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user