Forum Discussion

Sergei Sergeev's avatar
Jun 22, 2026

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

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 (uploaded on github):

 

Video

 

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)

Anybody has the same problem?

1 Reply

  • Hi, that sounds like a modern SharePoint web part refresh or caching issue. I’d compare what happens in the actual document library versus the page web part right after upload. If the library shows the file but the web part does not, collect timestamps, browser details, and a correlation ID if possible, then open a Microsoft support ticket.