Favicon cross-sites partial loading
Summary
The favicon should change when you are browsing in another site collection
Prerequisites
- I checked the documentation and found no answer
- I checked to make sure that this issue has not already been filed
Your environment
Tenant Release |
|
Extension version | 0.0.1 |
Deployment |
|
Browser | Edge |
Browser Version | 88.0.673.0 (Official build) Dev (64-bit) |
Operating System | Windows 10, Mac |
Current behavior
- Deploy and install the extension as is (no property)
- Open a SharePoint site collection (HUB or a site with a link to another site collection) with a site logo
- Check that the favicon is the same than the site logo
- Click on a link that redirect you to another site collection (ensure partial loading) with another logo
- The favicon not change
Expected behavior
- Follow the same steps than the current behavior
- The logo should be the same than the new site collection logo (not still the previous one)
Note: you can use the SharePoint lookbook template RETAIL OPERATIONS
Screenshots
Additional information
Expand for output related to your SharePoint Environment
Into the controller, from the SPFx context, check the Web GUID and add navigation event (partial loading page), then compare the GUID of the current web with the previous one. If it is different, call the script to update the favicon.