You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SPFx Field Customizers breaks the icons in the context menu of the item (....) #11086
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
browser version
SPFx version
Node.js version
etc
Describe the bug / error
I have developed a SPFX field customizer with a logic,
When i add this field in the view seems that the icons of commands in the context menu(...) are not showing and another issue also in the view of the document library i use a e json formatter to hide a command and this command it is shown in context menu but in command bar everything seems to be ok icons the command is hidden etc,
Even if i remove the logic from the spfx field customizer still the issue remains,
If i remove this field from the view everything seems to be ok,
Can you help with this please,
Steps to reproduce
1.Create a spfx field customizer
2.Attach this spfx field customizer to a field in the view
3.and open context menu of the item in document library(....)
Expected behavior
Even if we attach the spfx field customizer in a specific field in the list it should not break the icons in context menu
Thank you for reporting this issue. Here is an AI-generated initial response:
Classification: Bug — the reported menu behavior is inconsistent with the documented behavior of SharePoint view customizations, though the cause is unconfirmed.
You report that adding the field to the view makes context-menu icons disappear, even after removing the customizer’s logic. The type:bug-suspected label is a triage signal, not confirmation.
Microsoft documents that hiding a command through view-formatting JSON should hide it in both the command bar and item context menu. The command that remains visible needs its key and JSON checked first.
Upgrade check: No fixing SPFx version is verified; your SPFx version wasn’t supplied.
What to do now:
Reproduce in a clean library with a generated, unmodified Field Customizer; compare the menu before and after adding its field to the view.
Share your SPFx and browser versions, the view-formatting JSON and command key, screenshots, and any console errors. Check the documented updated command keys.
If i remove the field which contains the spfx field customizer from the view everything works well.
I am using spfx 1.21.1 and this bug is on all the browsers
In command bar command icons are ok and everything works well only in the context menu (...) of the item it is the issue when a field contains a spfx field customizer and is in a view of document library
Hello,
Thanks for the feedback,
Also the icons on the commands in context menu(...) are not showing correctly if we add the sp field customizer take even this thing to fix,
Thank you so much
Activity
m365-agent-toolkit-assistant commentedon Nov 6, 2026
👋 Hi Igli1994,
Thank you for reporting this issue. Here is an AI-generated initial response:
Classification: Bug — the reported menu behavior is inconsistent with the documented behavior of SharePoint view customizations, though the cause is unconfirmed.
type:bug-suspectedlabel is a triage signal, not confirmation.Upgrade check: No fixing SPFx version is verified; your SPFx version wasn’t supplied.
What to do now:
Useful links:
Igli1994 commentedon Nov 6, 2026
If i remove the field which contains the spfx field customizer from the view everything works well.
I am using spfx 1.21.1 and this bug is on all the browsers
Igli1994 commentedon Nov 6, 2026
In command bar command icons are ok and everything works well only in the context menu (...) of the item it is the issue when a field contains a spfx field customizer and is in a view of document library
Ashlesha-MSFT commentedon Nov 9, 2026
Hi Igli1994,
We were able to reproduce the reported behavior using a minimal SPFx 1.21.1 Field Customizer in a SharePoint Online document library:
We’ll raise a bug with the engineering team for further investigation and share updates in this thread as they become available.
Thank you for reporting this issue and providing the additional details.
Igli1994 commentedon Nov 9, 2026
Hello,
Thanks for the feedback,
Also the icons on the commands in context menu(...) are not showing correctly if we add the sp field customizer take even this thing to fix,
Thank you so much