Controls added to the header using SPFx extensions are visible on different site after navigation

Copper Contributor

Controls/customizations added to the SharePoint online site header using SPFx extension are visible on different SharePoint site after navigation.

Even if the SPFx extension is not added on the different site.

 

I have one SharePoint site without any SPFx extension, which looks like below.

 

MAInfo735_0-1635258861554.png

 

 

I have another site with SPFx extension added, which shows a toggle button after search box and has some custom css, that site looks like below.

MAInfo735_1-1635258861574.png

 

 

When I navigate from SiteWithExtension site to the site - ‘SiteWithoutExtension’ where SPFx extension is not added, still header customization related to search is visible. Please check below image.

MAInfo735_2-1635258861577.png

 

Could you please help me, how to get rid of these custom controls/ css when navigating to another site?

0 Replies