You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing problem where svgStyle does not apply to element (sometimes) in cause of setSvg called after changes of name and no setStyle called from SvgIconComponent.
My case is that I am loading screen with empty icon status, then I update that status to proper icon. When I debug this code then everything goes fine until last step (everything is set as expected style is set before last step), the last step resets all svg elements to initial without setting style property.
Changes are reset in this.destroy() and in below code changes points to null
I am facing problem where svgStyle does not apply to element (sometimes) in cause of
setSvg
called after changes ofname
and nosetStyle
called fromSvgIconComponent
.My case is that I am loading screen with empty icon status, then I update that status to proper icon. When I debug this code then everything goes fine until last step (everything is set as expected style is set before last step), the last step resets all svg elements to initial without setting style property.
Changes are reset in
this.destroy()
and in below codechanges
points tonull
workaround for now is to set svg style manualy with
::ng-deep
The text was updated successfully, but these errors were encountered: