Closed stinobook closed 1 year ago
The external SVG is loaded in three steps:
The first 2 steps should be hidden by Lit, as only the final result must be rendered. If you see multiple visible renders, I should check the steps. Futhermore, styling on the injected SVG should be absent, as the surrounding SVG is used for styling and sizing.
NTS:
Invert now works:
The Tres has an filter: invert(1)
styling, and is injected. It turns yellow into purple.
Closed with release V2.4.4
Swiss Army Knife version
2.4.4
Bug description
I think usersvg injects an SVG twice, noticed this when using style filter invert that it didnt work unless i switched the invert from 0 to 1 after page was loaded. also noticed SAK 'reshaping' the svg to the correct dimensions twice.
To Reproduce
Steps to reproduce the behavior: Card code:
Expected behavior
Can't make invert work since it inverts twice because of the double svg overtop one another.
Screenshots
'normally loaded'
disabled 1 of the filters via inspector:
Completely deleting the 2nd SVG still shows the SVG in the card, here disabling the filter doesn't do anything: