I am working on design using SLDS classes , I am using Discussion Feed here is the link . The icons for attach file and add user are not working. What am I missing .
-
1Please add your code here– d_kMay 3, 2017 at 9:42
-
The code is already there in link . Standard SLDS Doc– user2815826May 3, 2017 at 9:42
-
Have you added a Static Resource?– d_kMay 3, 2017 at 9:44
-
Yes , I have imported the resource using <apex:slds /> tag and wrapperd the code under <div class="slds-scope">...code </div> The UI renders correctly . But the publisher items are not working .– user2815826May 3, 2017 at 9:47
1 Answer
What browser are you using? The tag has numerous browser compatibility issues- I've seen the orientation break for icons when two SLDS icons are included in the same parent container. Chrome/Firefox. The tag also flat out doesn't work in IE11.
Would suggest converting the SVGs into static images or icon fonts, then using that instead of the pants-on-head SLDS approach that seems to have been taken because Lightning doesn't support the use of SVG tags