react-wordcloud icon indicating copy to clipboard operation
react-wordcloud copied to clipboard

textAttributes.fill is overwritten when wordcloud re-renders

Open queengooborg opened this issue 4 years ago • 1 comments

When the wordcloud re-renders, due to screen change or otherwise, it appears that the fill attribute for the textAttributes is overwritten by the colors specified by the colors attribute (or the random colors it defaults to). This is causing a huge issue in the functionality of a new feature on my client's website.

This issue can be seen on the demo page (simply resize the browser to see): https://react-wordcloud.netlify.app/usage/options#attributes

queengooborg avatar Oct 14 '20 10:10 queengooborg

Definitely a bug and can look into it!

chrisrzhou avatar Oct 15 '20 18:10 chrisrzhou