Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page freezes on init #5

Closed
supmanyu opened this issue Dec 30, 2020 · 4 comments
Closed

Page freezes on init #5

supmanyu opened this issue Dec 30, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@supmanyu
Copy link

On initialising and creating the chart instance, the webpage freezes, and has to be force closed

To Reproduce

  1. Happening only on production

Expected behavior

Wordcloud should initialize and render

Screenshots

Context

  • Version: v3.0.0_Beta-7
  • Browser: Any

Additional context

@supmanyu supmanyu added the bug Something isn't working label Dec 30, 2020
@sgratzl
Copy link
Owner

sgratzl commented Dec 30, 2020

creating a word cloud is quite computationally intense. How many words are you trying to layout?

@supmanyu
Copy link
Author

I was using the codepen example directly, also have some other charts on the page which are initialized on page load, but the wordcloud was initiated on a button click, could it be because of other charts present in the DOM?

@sgratzl
Copy link
Owner

sgratzl commented Dec 31, 2020

without an example I can play with it is difficult to know what is going on or why the browser is so busy

@supmanyu
Copy link
Author

I agree, but the issue is only apparent on this website that i'm working on at my job, which i cant share with you since it requires users to login for obvious reasons, and the library works fine on codepen, albeit with a bit of a delay in rendering, but that is expected since you already pointed out that there is a performance hit while rendering anyways. I've switched to wordcloud2.js for now, since the functionality required is only visual, and not much interaction is going to take place. Thanks for the response, i'm closing this issue since i cant produce a working example in isolation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants