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
When using .map to create a list of and from data, the nodes are all being created and rendered into the upper left corner of the svg.
It looks like the centering logic and is not being calculated correctly when the .map creates an array of objects for each element, so while the elements are being created, the objects aren't being centered. Has anyone been able to use state data to .map through and create multiple within a and still center the graphic within the svg?
It seems to work when each element is hard coded, the issue is in mapping that data to create elements
evanandrewrose, laurabrooks, digitalillusion and chiaki-i