Skip to content

Commit

Permalink
perf: lock axis on group nav sortting
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Aug 22, 2023
1 parent 4a06368 commit 7d601f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/web/src/routes/Main/Navbar/GroupNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export const GroupNav: React.FC = React.memo(() => {
{Array.isArray(groupList) && (
<SortableList
className="space-y-2"
lockAxis="y"
onSortEnd={handleSortEnd}
customHolderRef={containerRef}
>
Expand Down

0 comments on commit 7d601f0

Please sign in to comment.