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 not sure why you chose visibility:hidden over display: none in the styles but this is not working with my configuration.
Instead of breaking this on everyone's configuration, I suggest to change Sprite.spriteTemplate to a function so we can easily update Sprite.styles in our implementation.
This is an example of what we could do:
varSprite=require('svg-sprite-loader/lib/web/sprite')// Replace visibility:hidden by display:noneSprite.styles.pop()Sprite.styles.push('display:none')varglobalSprite=newSprite()// ...module.exports=globalSprite
If you think a PR is necessary just let me know.
The text was updated successfully, but these errors were encountered:
I am not sure why you chose
visibility:hidden
overdisplay: none
in the styles but this is not working with my configuration.Instead of breaking this on everyone's configuration, I suggest to change
Sprite.spriteTemplate
to a function so we can easily updateSprite.styles
in our implementation.This is an example of what we could do:
If you think a PR is necessary just let me know.
The text was updated successfully, but these errors were encountered: