[BUG] SVG components forced to have a transform-origin
See original GitHub issueSee the motion.polyline
component here: https://codesandbox.io/s/late-cherry-qpfsn
Expected: No transform origin if the user has set their own transform
. This is probably a bug in Stylefire.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9
Top Results From Across the Web
Support the 'transform-origin' property in SVG and implement ...
Issues in Layout that do not fit into any other Layout component or which span multiple Layout components. Bugs related to the top...
Read more >CSS transform origin issue on svg sub-element - Stack Overflow
I am looking to make it scale from the elements center. How do I get the transform-origin to be set relative to the...
Read more >Svg transform origin intermittent bug - GSAP - GreenSock
I'm animating every svg elements y position from bottom to t... ... Funnily enough I can't seem to get the codepen to reproduce...
Read more >Styling — SVG 2
Elements in an SVG document can be styled using CSS. ... In SVG 1.1, support for inline style sheets using the 'style' element...
Read more >An Animated Tale of SVG Transforms - DockYard
I was incorrect in my approach to transforming SVG child elements. ... This issue isn't present in transform-origin properties that have ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Setting
This didn’t work for me but it led me to
which did!!
@mattgperry Can confirm, this is still a bug. I want to
rotate
an SVG onhover
to0deg
frominitial
position-6deg
so I wrote it like this:But it automatically adds
transform-origin: 87.936px 88.936px;
to the browser when I didn’t even specify anything.I think it should be just
0px 0px
if nothing is provided.