Skip to content

Conversation

@Cheetos-gif
Copy link

Description

Fixes #418

Single uploaded files are no longer draggable, preventing the glitching behavior when the cursor attempts to move them.

Changes

  • Conditionally render SortablePreview wrapper only when previews.length > 1
  • Single files now render in a plain div without drag functionality
  • "Drag to reorder" text only displays for multiple files

Before/After

Before: Single file was draggable, causing glitchy cursor behavior
After: Single file is static, multiple files remain draggable for reordering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upload drag-drop action makes frame glitch-out

1 participant