Open vasilzhigilei opened 3 years ago
Update: Adding abortThreshold: 1000, to options avoids the issue, but it doesn't seem like a very good fix (just aborting after 1 second doesn't seem like the best solution- not all words appear on small screen sizes, but at least the error doesn't get thrown anymore)
Uncaught RangeError: Maximum call stack size exceeded at getTextInfo (wordcloud2.js:514) at putWord (wordcloud2.js:913) at putWord (wordcloud2.js:987) ...
when wordcloud2 tries to put words into an area on a small screen size. Some of the words do get big in size, and there are a fair number of words. This error lags the mobile device, ruining the UX. Any way to avoid this?