sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

SPFx application customizer no longer works on modern Site Contents page

Open BigTimbo opened this issue 1 year ago • 3 comments

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

  • [ ] 💥 Internet Explorer
  • [X] 💥 Microsoft Edge
  • [X] 💥 Google Chrome
  • [ ] 💥 FireFox
  • [ ] 💥 Safari
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

Additional environment details

  • Edge 122.0.2365.52
  • Chrome 122.0.6261.70
  • SPFx 1.18.2
  • Node.js 18.18.0
  • React 17.0.1

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.

BigTimbo avatar Feb 28 '24 10:02 BigTimbo

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

ghost avatar Feb 28 '24 10:02 ghost

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

heinrich-ulbricht avatar Mar 09 '24 20:03 heinrich-ulbricht

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

BigTimbo avatar Mar 12 '24 15:03 BigTimbo

@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?

AJIXuMuK avatar Aug 12 '24 18:08 AJIXuMuK

Hello @BigTimbo, Thank you for bringing this issue to our attention. Could you please confirm if the issue still persists for you? We will look into it and get back to you shortly.

Amey-MSFT avatar Jun 13 '25 10:06 Amey-MSFT

We are closing this issue for now. If the problem persists, feel free to reopen it or open a new one.

Amey-MSFT avatar Jul 03 '25 11:07 Amey-MSFT