SharePoint / SharePoint/sp-dev-docs
The uploaded documents are not shown on page reload for document library web part
@Ashlesha-MSFT is already working on this.
Since Jun 19, 2026.
- 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
- We have a document library web part with modern experiences.
- A user uploads a document - the document is immediately visible in the UI.
- The user reloads a page
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.