I'm trying to apply a drop shadow to an SVG element on hover. In doing so, however, it blurs/moves the text that's nested inside the SVG. I've tried using things like backface-visibility
, which does stop the text moving, but it blurs the text by default, so isn't a suitable fix. Other fixes like perspective(1px)
or blur(0px)
haven't worked either.
The div is scaled, but it's done by a third party library, so I have no control over the scaling. Interestingly, removing the transition or changing the scale to 1 ensures there is no blurring.
Test link here: https://jsfiddle.net/65aj3evt/3/
I'm using Chrome version 84.0.4147.105
Thanks for any suggestions!