Skip to content

Commit 13c88d8

Browse files
fix: keep suppressProjectClickAfterDragRef true on drag cancel to prevent unintended toggle
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
1 parent de1a251 commit 13c88d8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

apps/web/src/components/Sidebar.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,6 @@ export default function Sidebar() {
872872

873873
const handleProjectDragCancel = useCallback((_event: DragCancelEvent) => {
874874
dragInProgressRef.current = false;
875-
suppressProjectClickAfterDragRef.current = false;
876875
}, []);
877876

878877
const handleProjectTitlePointerDownCapture = useCallback(() => {

0 commit comments

Comments
 (0)