sp-dev-docs
sp-dev-docs copied to clipboard
SPFx application customizer no longer works on modern Site Contents page
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:
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
- Open Dev tools (F12)
- 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.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
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.
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
I should clarify, it does seem to render the components, however CSS existing within these extensions are not being applied to the page.
@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:
Could you share your test solution that isn't working?
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.
We are closing this issue for now. If the problem persists, feel free to reopen it or open a new one.