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
transformOrigin is not dynamically calculated and defaults to 0px 0px for SVG elements that are not displayed on initial render because they or their parent are set to display: none.
transformOrigin
is not dynamically calculated and defaults to0px 0px
for SVG elements that are not displayed on initial render because they or their parent are set todisplay: none
.Minimal reproduction on CodeSandbox
Steps to reproduce:
none
toinitial
Expected behavior:
transformOrigin
should be dynamically calculated based onoriginX
andoriginY
values.Note:
A workaround for elements that do not need a dynamic
transformOrigin
is to manually setoriginX
andoriginY
as strings (eitherpx
or%
).Documentation mentions the same workaround for animating
scale
androtate
on SVG elements with server-side rendering.Related issue: #621
The text was updated successfully, but these errors were encountered: