SharePoint / SharePoint/sp-dev-docs
SPFX fails to load webparts after logging in to site
Open
@Ashlesha-MSFT is already working on this.
Since Aug 29, 2025.
area:spfx
Needs: Author Feedback
sharepoint-developer-support
type:bug-suspected
- Dominant language
- PowerShell
- Stars
- 1.4k
- Forks
- 1.1k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 12
Description
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
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
- browser version chrome -Version 139.0.7258.128 (Official Build) (64-bit), edge - Version 139.0.3405.119 (Official build) (64-bit)
- SPFx version 1.21.1
- Node.js version v22.16.0
- etc
Describe the bug / error
After logging in to SPO site it doesnt load custom webparts. Placeholders are left in place. On refresh it works fine. This is affecting multiple production deployments and spfx versions
Steps to reproduce
- emty cache
- log in to spo
Expected behavior
webpart to be loaded
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.