SharePoint / SharePoint/sp-dev-docs

New modern UI in document libraries: document set navigation failure

Open
#10,109 11 comments 0 reactions 1 assignee View on GitHub

@Ashlesha-MSFT is already working on this.

Since Mar 4, 2025.

sharepoint-developer-support type:bug-confirmed type:bug-suspected
Dominant language
PowerShell
Stars
1.4k
Forks
1.1k
Avg merge
4d 12h
Merged PRs (30d)
12

Description

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

None

What browser(s) / client(s) have you tested
  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)
Additional environment details
  • standard SharePoint UI, no extensions;
  • specific browser version is not relevant.
Describe the bug / error

Navigation fails with document sets. Document libraries has documents set content type. Document set content type has default view specified in content type settings. User filters default root folder by specific columns. Then user navigates to inside document set and the view is changed, but these problems appear:

  1. Filtering is not cleared. User usually sees empty document set content and has to clear the filter manually each time.
  2. If the filtered column is not present in document set default view, the error appears.
  3. Custom command bar extension build with SPFX is not present when you are inside document set. Have to refresh the window.
Steps to reproduce
  1. Add Document set content type to document library.
  2. Add Column A - to document library and ensure it is added to all content types and views.
  3. Ensure "Column A" is added to default view
  4. Create new view "Contents" - remove "Column A" from that view.
  5. Set "Content" as default view for Document set content type.
  6. Create one document set, fill "Columns A", with value "TEST",
  7. Add one document inside document set.
  8. Go to root folder of the library, filter view by column "Column A" with value TEST.
  9. Go inside first document set.
  10. Observe opened view.
Expected behavior

View should switch to view "Contents" - OK.
Document should be visible inside document set - FAIL.
Filters should be cleared inside document set - FAIL.
When navigate back to root folder - view should be switched back to lists default view - FAIL.

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.