-
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.type:bug-confirmedConfirmed bug, not working as designed / expected.Confirmed bug, not working as designed / expected.
Description
Category
- Bug
Describe the bug
After deploying an SPFx extension with location ClientSideExtension.ListViewCommandSet.ContextMenu or ClientSideExtension.ListViewCommandSet the command randomly appears multiple times in the context menu. After a Shift-Reload the command always appears correctly.
This behavior is unrelated to the form of deployment. It's happening with tenant wide deployed extensions as well as with site controlled deployments.
The actual control is always fired only once, even when it appears twice ore more often. It seems so be a caching issue when the page renders.
Steps to reproduce
DELETE THIS LINE BEFORE SUBMITTING - Provide steps to reproduce the behavior:
- Create a SPFx Extention
- Set in elements.xml location="ClientSideExtension.ListViewCommandSet" and ListTemplateId="101"
- Deploy to app catalog and add to site
- (especially in nested folders?) the context menu entry appears twice or more often
- Shift-reload the page to clear the multiple entry
Expected behavior
The command should only appear once.
Environment details (development & target environment)
- Target Environment: SharePoint Online
- Framework: SPFx v1.11.0
- Browser(s): all Browsers
AtnNn, AntoninaSavka, seanryano, ConorMeehanNitro, kevinmartingrant and 11 more
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.type:bug-confirmedConfirmed bug, not working as designed / expected.Confirmed bug, not working as designed / expected.