TransWikia.com

slds-icon-utility-xxx class not work after Summer 20 Release

Salesforce Asked by GhostLee on December 22, 2021

I face an issue after Summer 20 release. Currently looks like slds-icon-utility-xxx class not work in both Lightning Experience and Classic Mode.

My Code:

    <apex:page >
    <html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" lang="en">
        <apex:slds />
        <span class="slds-icon_container">
            <svg aria-hidden="true" class="slds-icon">
                <use xlink:href="{!URLFOR($Asset.SLDS, 'assets/icons/utility-sprite/svg/symbols.svg#opened_folder')}"></use>
            </svg>
             <span class="slds-assistive-text">Account Icon</span>
        </span>
        
        <span class="slds-icon_container slds-icon-utility-announcement">
            <svg aria-hidden="true" class="slds-icon">
                <use xlink:href="{!URLFOR($Asset.SLDS, 'assets/icons/utility-sprite/svg/symbols.svg#opened_folder')}"></use>
            </svg>
             <span class="slds-assistive-text">Account Icon</span>
        </span>
        
        <span class="slds-icon_container slds-icon-standard-account">
            <svg aria-hidden="true" class="slds-icon">
                <use xlink:href="{!URLFOR($Asset.SLDS, 'assets/icons/utility-sprite/svg/symbols.svg#opened_folder')}"></use>
            </svg>
             <span class="slds-assistive-text">Account Icon</span>
        </span>
    </html>
</apex:page>

Phenomenon

Classic Mode

Lightning Experience

You can see only icon add slds-icon-standard-xxx class show. May I ask you idea about this issue and please correct me if I code wrong.

Notes:
This code works fine before Summer 20 release.

Best wishes,
Lee

One Answer

This is a known issue documented here.

The issue has been identified as a Chrome issue than the salesforce issue. The timing of the chrome issue and Salesforce release is a coincidence. You can follow the bug here

Hopefully, this will be resolved with the next Chrome update.

UPDATE

  • This has been fixed now by chrome!

Answered by Mohith Shrivastava on December 22, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP