You need to sign in to do that
Don't have an account?
thatherahere
Re-rendering removing SVG-USE tags from Visualforce page with SLDS
Hi,
I'm using Salesforce Lightning Design System with a Visualforce page and using <svg> tag to get SLDS Icons on Page header and Buttons. Initially on page load all works fine but when I try to re-render any <apex:outputPanel> that have <svg> icons inside it, on complete of rerendering it vanish my all <svg> icons.
I tried to debbug it by Inspect element in chrome and found after re-rendering any block my <svg> icon tags are not there.
anyone else experiencing this issue?
Any advise or guidance would be greatly appreciated.
Thanks,
@thatherahere
I'm using Salesforce Lightning Design System with a Visualforce page and using <svg> tag to get SLDS Icons on Page header and Buttons. Initially on page load all works fine but when I try to re-render any <apex:outputPanel> that have <svg> icons inside it, on complete of rerendering it vanish my all <svg> icons.
I tried to debbug it by Inspect element in chrome and found after re-rendering any block my <svg> icon tags are not there.
anyone else experiencing this issue?
Any advise or guidance would be greatly appreciated.
Thanks,
@thatherahere
Refer to this URL: https://developer.salesforce.com/forums/ForumsMain?id=906F0000000BWYqIAO
Thanks,
@thatherahere
Just set your apex:page attribute docType="html-5.0" and this will fix the rerender SVG bug