fix: keep suppressProjectClickAfterDragRef true on drag cancel to prevent unintended toggle
Co-authored-by: Julius Marminge <[email protected]> Applied via @cursor push command
This commit is contained in:
1 parent
e42036485f
commit
9fb9467ed1
1 file changed
-1
@@ -872,7 +872,6 @@ export default function Sidebar() {
|
||||
|
||||
const handleProjectDragCancel = useCallback((_event: DragCancelEvent) => {
|
||||
dragInProgressRef.current = false;
|
||||
suppressProjectClickAfterDragRef.current = false;
|
||||
}, []);
|
||||
|
||||
const handleProjectTitlePointerDownCapture = useCallback(() => {
|
||||
|
||||
Reference in new issue
Block a user