Skip to content

Commit b82a062

Browse files
waleedlatif1claude
andcommitted
fix(tables): reset didDragRef in handleDragEnd to prevent stale flag
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4f1e44e commit b82a062

File tree

1 file changed

+1
-0
lines changed
  • apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table

1 file changed

+1
-0
lines changed

apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table/table.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3181,6 +3181,7 @@ const ColumnHeaderMenu = React.memo(function ColumnHeaderMenu({
31813181
}, [])
31823182

31833183
const handleDragEnd = useCallback(() => {
3184+
didDragRef.current = false
31843185
onDragEnd?.()
31853186
}, [onDragEnd])
31863187

0 commit comments

Comments
 (0)