SharePoint / SharePoint/sp-dev-docs

The uploaded documents are not shown on page reload for document library web part

Open
#10,916 3 comments 0 reactions 1 assignee View on GitHub

@Ashlesha-MSFT is already working on this.

Since Jun 19, 2026.

sharepoint-developer-support type:invalid-not-dev-issue
Dominant language
PowerShell
Stars
1.4k
Forks
1.1k
Avg merge
4d 12h
Merged PRs (30d)
12

Description

We observe a very strange behavior with all of document library web parts on all tenants where we tested.

Problem Definition

Newly added document disappears after page refresh. If you refresh second time the file appears.

Steps to Reproduce

  1. We have a document library web part with modern experiences.
  2. A user uploads a document - the document is immediately visible in the UI.
  3. The user reloads a page
  4. The uploaded document disappears.

You can use drag-n-drop upload, or upload button, it doesn't matter. Sometimes you need a few refreshes until file appears in the UI. It doesn't matter how many time you wait after the initial upload - for example you can upload a file, wait 5 minutes, then refresh - the file will disappear, then refresh again - it will appear.

This is the video demonstrating the problem:

https://github.com/user-attachments/assets/475e9247-ecde-4038-baef-ad2622a687d5

Expected Behavior:

The recently uploaded document should not disappear after the page refresh.

Additional Information:

Browser: Chrome 149.0.7827.104 (Official Build) (64-bit)

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.