SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.25k stars 1.01k forks source link

SPFx application customizer no longer works on modern Site Contents page #9549

Open BigTimbo opened 8 months ago

BigTimbo commented 8 months ago

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

πŸ’₯ SharePoint Framework

Developer environment

Windows

What browser(s) / client(s) have you tested

Additional environment details

Describe the bug / error

It seems the bug previously raised in this ticket is reoccurring: https://github.com/SharePoint/sp-dev-docs/issues/8550 I am currently getting the same issues described in this previous ticket, with the console showing this: image I've also tested on multiple tenants across both Chrome and Edge, with the issue persisting across all of them. This is likewise only occurring on 'Site Contents' pages and is working on other pages, document libraries and lists etc.

Steps to reproduce

  1. Open Dev tools (F12)
  2. Navigate to a 'Site Contents' page.

Expected behavior

Console error "Error: Resource "ItemsScopeManager.key" is being consumed synchronously, but was exposed asynchronously and has not been loaded." appearing and SPFx application customizer has stopped running.

ghost commented 8 months ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

heinrich-ulbricht commented 8 months ago

I did a quick test and it works on my machine. I also see the error in the console, but the SPFx app customizer (WikiPakk page tree in my case) loads on the Site Contents page. image

image

SPFx 1.18.0 Chrome Version 122.0.6261.94 (Official Build) (64-bit) Linux E5 Developer Tenant installed from AppSource via SP App Catalog

BigTimbo commented 8 months ago

I should clarify, it does seem to render the components, however CSS existing within these extensions are not being applied to the page.

AJIXuMuK commented 2 months ago

@BigTimbo - sorry for the long delay. I'm assuming you might have some custom way of applying styles. Tested on my side and seems to be working fine: image

Could you share your test solution that isn't working?