Open SecretUnicorn opened 4 years ago
I am experiencing the same issues using create-react-app.
Me too
I also had the same issue, after several testing I found it's just add width and height to 100% on tag-cloud class
.tag-cloud {
height: 100%;
width: 100%;
}
.tag-cloud > div {
transition: 1.4s;
}
you also must add a forceUpdate interval to add the update animation
componentDidMount() {
setInterval(() => {
this.forceUpdate();
}, 3000);
}
Same. Couldn't get this to work regardless of forceUpdate or what I throw into it. Moved to https://www.npmjs.com/package/react-d3-cloud
Same. I'm using create-react-app and works for me include the divs app-outer
and app-inner
with the styles respective. How the example
I have a list of word and I am generating divs inside the Tagcloud tag. The problem is that there are no elements in the dom listed.