-
Notifications
You must be signed in to change notification settings - Fork 1k
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
- Edge Version 135.0.3179.85
- SPFx 1.10.0 and 1.10.0
Describe the bug / error
I have two command set extensions deployed to the same list, both use the COMMAND_1 key, which I should probably have changed, but this has never been an issue before!
One opens a link, and the other a dialog, but that doesn't matter for the issue I'm facing.
When both command sets are visible in the command bar, pressing either will trigger the first one, however once they "rollover" into the overflow menu, they work as expected.
This is a solution that has been live for several years, however this only started about 3 weeks ago, we've been hoping it would resolve itself, but it hasn't.
I expect a new site to open when I press "Gå til tilbud" and the dialog to show when I press "Se serie" however (logging confirms) when I press "Se serie" and they're both visible the "Gå til tilbud" is triggered.
Steps to reproduce
- Create two separate Command Set extensions, in separate solutions, leave the "COMMAND_1" key, and have them simply write a Console.log - something like "Hello World 🎉" and "Hello World 🥲"
- Deploy them to the same list
- Press the button while they're both visible in the ribbon.
Expected behavior
Each command set extension is it's own solution, I would never expect "cross contamination" between different SPFx Solutions.
I would expect to see the same behaviour no matter if they're in the overflow menu or the command bar