payloadcms / payloadcms/payload

Folders > ”No Folder“ view is missing media elements

Open
#15,622 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: ui Bug stale status: needs-triage
Dominant language
TypeScript
Stars
44.8k
Forks
4.2k
Avg merge
2d 21h
Merged PRs (30d)
53

Description

Describe the Bug.
Image

When Media is not already sorted into a folder it simply disappears once you look at the folder view. While the folders are listed, the space underneath is blank. This creates a severe UX bug: The user is basically not able to sort media into folders. He can only do so with the rather convoluted Edit Drawer, which is also very unintuitive in regards to folders:

Image

Here you basically need to click "No Folder" by chance to realize that you can change the folder by doing so.

Reproduction Steps
  1. Use Media and Folders
Environment Info
Binaries:
  Node: 22.21.1
  npm: 10.9.4
  Yarn: 1.22.19
  pnpm: 10.27.0
Relevant Packages:
  payload: 3.76.0
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.6.0: Wed Nov  5 21:33:58 PST 2025; root:xnu-11417.140.69.705.2~1/RELEASE_ARM64_T6000
  Available memory (MB): 32768
  Available CPU cores: 10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using Media and Folders in the admin panel, then trace the folder view that renders media items. Verify the behavior for media without a folder and make sure those items appear under “No Folder” and can be assigned to a folder; repeat the reproduction steps to confirm the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.