onListViewUpdated nor listViewStateChangedEvent in command set are both not firing for document library web part #10054
Labels
area:spfx
Category: SharePoint Framework (not extensions related)
area:spfx-extensions
Category: SharePoint Framework Extensions
area:spfx-in-lists
type:bug-suspected
Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
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
Additional environment details
The problem happens on one of the tenants. We inspected the headers for OOB SharePoint list view related webparts, and found build version header:
x-ms-meta-sourcebuild:odsp-web-prod_2024-12-06.011
where the problem is.For other tenants we have version
odsp-web-prod_2024-11-08.003
and for those tenants everything works as expected.Describe the bug / error
When you have a document library web part on a page,
onListViewUpdated
andlistViewStateChangedEvent
don't fire when you select a row.Steps to reproduce
onListViewUpdated
orlistViewStateChangedEvent
events. Have at least one command in the command set.onListViewUpdated
orlistViewStateChangedEvent
will not fire.Expected behavior
When you have a document library web part on a page,
onListViewUpdated
andlistViewStateChangedEvent
should fire, when you select a document.The text was updated successfully, but these errors were encountered: