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

Image generation causes the page to freeze #2

Open
adri326 opened this issue Mar 30, 2020 · 1 comment
Open

Image generation causes the page to freeze #2

adri326 opened this issue Mar 30, 2020 · 1 comment

Comments

@adri326
Copy link

adri326 commented Mar 30, 2020

Calculations are done in the page's thread in a blocking way, meaning that the page becomes almost entirely unresponsive (unclickable links, buttons not doing anything, etc.) while the script is running (which may take a minute).

You should consider using Web Workers.

Here is a screenshot of an expression in the browser's console waiting to be executed while the image is being generated:

Screenshot_2020-03-30_17-45-43

@hugolgst
Copy link
Owner

Hello,

I know this bug, and I might fix it later.
Thanks for your issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants