Rendering multiple <Stats/> instances
#2365
netanelben
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to render a stack of all 3 possible Stats components, with my code i'v been attaching the component to a parent in order to apply style on it - but to my surprise I can see (screenshot) that the render created 3x3 instanced of canvas detached from my one and only DIV element referred to it.
I also noticed the style attribute does not reset once referring a parent node, makes it hard to style the component.
I am using version 9.99.0
What am i missing here ?
Beta Was this translation helpful? Give feedback.
All reactions