-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
area:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)area:spfx-extensionsCategory: SharePoint Framework ExtensionsCategory: SharePoint Framework Extensionsstatus:fixed-next-dropIssue planned to be fixed in an upcoming release.Issue planned to be fixed in an upcoming release.
Milestone
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
No response
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
- browser version
- MS Edge - Version 98.0.1108.50 (Official build) (64-bit)
- Chrome - Version 98.0.4758.102 (Official Build) (64-bit)
- SPFx version - 1.14 (also does not work in prior versions 1.12 and 1.13 tested)
- Node.js version - v14.17.1
Describe the bug / error
When you navigate from a modern site's home page to a document library using the OOTB left hand navigation, something does not fully load on the document library page as any custom listview extensions do not work. If you refresh the library page, then the actions work as expected.
Steps to reproduce
- Create a new SPFX extension project using the 1.14 yeoman generator, using all default values for HelloWorld listviewcommandset
- Update elements.xml to target libraries with RegistrationId=101
- Deploy to SharePoint Online and add to a modern site
- Create a document library, add a couple documents, make sure it shows in navigation
- Go to home page of site, click on the link to open the document library
- Try to click on the 'command 2' action - does not open alert box as expected
- Select one or more documents, click on the 'command 1' action - does not open alert box as expected
- Refresh page - click on the 'command 2' action - it now opens the alert box that says 'this command is always visible'
i've attached my skeleton project that was deployed to our sponline environment.
spfx-14-test.zip
Expected behavior
The command set buttons should work whether you navigate from home page or land directly on a document library page.
Metadata
Metadata
Assignees
Labels
area:spfxCategory: SharePoint Framework (not extensions related)Category: SharePoint Framework (not extensions related)area:spfx-extensionsCategory: SharePoint Framework ExtensionsCategory: SharePoint Framework Extensionsstatus:fixed-next-dropIssue planned to be fixed in an upcoming release.Issue planned to be fixed in an upcoming release.