-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPFX ListCommandSet] _onListViewStateChanged event will never trigger if it is in grouped list view and this group has only one item #10047
Comments
We're seeing issues with this as well. This seemed to be fixed / working for a while and then noticed this week it stopped working |
@reedpamsft something on the list experiences with SPFx |
@VesaJuvonen @wuxiaojun514 @Feets20 thanks! Feets20 reported this on the other thread and we're looking into it. |
@VesaJuvonen @wuxiaojun514 @Feets20 we have a fix for this which will roll out with new client builds in January; eta the week of the 13th. Emphasis on "estimated", though. The first build of a new year is often delayed. |
Hi @Haiqi-Wu , |
@reedpamsft Will the fix roll out this week? |
Looks like it's fixed. |
Yes, it works for me now. |
@reedpamsft Was anything rolled back recently? I saw this was working fine yesterday and today it appears to be behaving how it did before |
@reedpamsft When will the new fix roll out? |
@Haiqi-Wu no ETA to share yet, sorry. |
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
Describe the bug / error
I guess this issue maybe related with #9944
We have a spfx list command set with a customized button

Like this screenshot
This week we suddenly find it doesn't work (button doesn't show) in grouped list view when there is only one item in this group

For example, if there is only one pending item in "Approve/Reject" view, then our customized button will never appear.
I debugged the code and find

_onListViewStateChanged
event will never trigger if there is only one row in group on grouped list view.I saw there is closed similar issue #7794 but that one is not for new list UI.
Steps to reproduce
public onListViewUpdated(event: IListViewCommandSetListViewUpdatedParameters): void
method as example?)Expected behavior
The _onListViewStateChanged event in List View CommandSet Extension should work as expected in grouped list view
The text was updated successfully, but these errors were encountered: