SharePoint / SharePoint/sp-dev-docs
Some SharePoint web parts don’t always show up until the page is refreshed
Open
Nobody has claimed this yet.
area:spfx
Needs: Author Feedback
sharepoint-developer-support
- Dominant language
- PowerShell
- Stars
- 1.4k
- Forks
- 1.1k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 12
Description
Additional environment details
- SPFx version: 1.18.2
- React version: 17.0.1
- Fluent UI version: 8.106.4
- Node version: 16.x / 18.x
Issue description
We are experiencing an intermittent rendering issue with an SPFx solution (v1.18.2) containing five custom web parts.
The solution builds successfully and deploys to the App Catalog without errors. All web parts can be added to a modern page as expected. However, the following behavior occurs:
- When loading the site in a new browser tab (by pasting the site URL and pressing Enter), the top two or three web parts occasionally do not render.
- If the page is refreshed, the web parts load correctly.
- If navigating away from the page and then returning, one or more web parts may again be missing.
- No errors are logged in the browser console, but the web part placeholders are absent from the DOM.
Questions:
- What are the potential root causes of web parts disappearing intermittently in SPFx 1.18.2 with no console errors?
- Could unused dependencies (e.g., lucide-react or overlapping icon libraries) impact SPFx bundle loading or rendering?
- Are there known issues with SPFx 1.18.2, React 17, or Fluent UI v8 in scenarios where multiple custom web parts are loaded on the same page?
Before:
After:
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.