react-wordcloud
react-wordcloud copied to clipboard
textAttributes.fill is overwritten when wordcloud re-renders
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
Definitely a bug and can look into it!