#application-customizer 6 articles
- A docked side panel floats in mid-air on the newer SharePoint layout: .sp-App-bodyContainer is not theregotchas / spfxA Copilot-style side panel narrows the SharePoint page by shrinking .sp-App-bodyContainer. On the newer page chrome (left app bar with Discover/Publish/Build) that container does not exist, so the docking code silently…
- CDN pruning deleted the extension bundle the deployed .sppkg still referencedgotchas / spfxWith includeClientSideAssets: false the catalog pins hashed names for customizers and command sets too; a "keep N newest" prune evicts the referenced hash and the extension 404s for days — protect extension bundles by…
- List and library pages run a stale extension bundle from Cache Storage for daysgotchas / spfxStable (unhashed) bundle URL = list and library pages can run a days-old copy from the Lists app's own Cache Storage (Lists-odsp-web-prod_*), whatever Cache-Control says; keep the stable file a tiny loader and load…
- Reading the modern list selection from the DOM — names only, and the count liesgotchas / spfxOnly a ListViewCommandSet gets selectedRows; from the DOM take names only (the name is a button, not a link), resolve paths with one folder-scoped call, and take the real count from clearSelectionCommand because the…
- Your Application Customizer runs again inside SharePoint dialog iframesgotchas / spfxA floating button rendered twice, the copy pinned to the dialog's corner; refuse nested browsing contexts before anything else (+ un-render path and why a body MutationObserver needs a definitive „no“)
- Your Application Customizer's floating UI disappears when navigating the sitegotchas / spfxThe button vanishes as you click around the site; visibilitychange never fires on in-page nav, so re-render on navigatedEvent (+ a MutationObserver backstop that stops re-reading configuration after a definitive…