Doubled application customizer displayed
Category
- [ ] Question
- [ ] Typo
- [x] Bug
- [ ] Additional article idea
Expected or Desired Behavior
I expect to see my application customizer displayed once on the page when going to another site collection.
Observed Behavior
Starting mid-day yesterday we started getting user reports that when clicking on links to another site collection. The header and footer of the site are duplicated. Our header and footer are provided by an application customizer. A refresh gets rid of the duplication, and it appears to be caused by a change in how the partial-refresh occurs when going around the site.
Steps to Reproduce
- Create two site collections
- Enable a branding application customizer on both
- Add a link to the other site collection on a page in the first site
- Click the link
- Note the elements inside of the Top and Footer placeholder have both the original displayed content from Site 1 and the content for Site 2
Additional Notes
This can be avoided by having the link do a window.location.href to the new url. But thats a bandaid. The application customizer is built on SPFX 1.4.1
Thanks for your contribution! Sharing is caring.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

Is this still happening or did it got fixed automatically? Please confirm that status. Sorry for the delay on following up with the issue.
Yes, it is still happening, seems to be related to partial page loads. Triggering a full page load from the initial site to the new one prevents the issue from occurring. That, of course, is not a desirable or sustainable path.
For the time being, I have added styling that hides the second instance which at least hides the behavior to end users.
As we cannot repro this on our side, any change you could share your solution for us to repro the issue? Would help on moving forward on the troubleshooting. You could use for example MS Tech Community for sending the sppkg file in safe ways only for me.
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within next 7 days of this comment. Thank you for your contributions to SharePoint Developer activities.
Thanks @MaartenSundman, sorry for the small delay. We'll use this for reproducing the issue and get back to this. Thx.
@MaartenSundman - Thanks for uploading your package. That being said I'm still not able to repro the issue, and there I am having trouble fixing it.
Let me know where I went wrong:
- Create a new 2 new site collections (team1 and team2)
- Add your app to the app catalog (tenant deployed)
- Go to team1, add the custom action to the web
- Go to team2, add the custom action to the web
- In team 2 create a link in the left nav to link to team1
- Click the click the link
According to you in step 6 i should get duplicate headers/footers. The thing is, I don't.
Thanks, Graham
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within next 7 days of this comment. Thank you for your contributions to SharePoint Developer activities.
Closing issue due no response from original author. If this issue is still occurring, please open a new issue with additional details. Notice that if you have included another related issue as additional comment on this, please open that also as separate issue, so that we can track it independently.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues