Skip to content

Commit

Permalink
Delay uncollapsed when sorting groups
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-jeremy committed Jan 20, 2024
1 parent 7693b34 commit dbb777e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ export const BudgetCategories = memo(
onReorderCategory(active.id, dropPos, over.id);
}
}

setCollapsed(originalCollapsed);
setTimeout(() => setCollapsed(originalCollapsed), 100);
};

const expenseGroupIds = useMemo(
Expand Down

0 comments on commit dbb777e

Please sign in to comment.