Closed test-user-18 closed 6 years ago
It seems that this only happens on Chrome.
I have found that this issue happens on one of the demos as well. Here are the steps to reproduce the issue:
Then, you will see that you will not be able to drag it for a while (about 30 seconds).
I have tried on different browsers on different machines, and it seems that it only happens on Chrome. I tried on Firefox and Safari on my machine and they do not have the issue:
I also tested on other browsers on other OS, and I found that Chrome on Windows has the same issue.
I found a way to work around this (use mol instead of SMILES). So, I am just letting you know what I found.
Thank you.
@test-user-18 Thanks a lot for your feedback. The Indigo module is actually an asm.js file generated by Emscripten. The long-time block of browser UI seems to be caused by the compiling process of asm.js codes in Chrome. The problem may be avoided by regenerate the Indigo module to WebAssembly directly, and we may do that in the near future.
Thank you for letting me know. We look forward to your update. We have been using Kekule.js for our research, and it has been working great. Thank you very much!
@partridgejiang: I have seen big performance enhancement in changelog. Have you fixed this issue?
I would like to show SMILES in 2D on a web browser, and found Kekule.js.
I wrote this code below and I was able to do what I wanted.
html
Javascript
However, it seems that it takes a long time to enable Kekule.Indigo, and I cannot type anything into textarea until it is loaded.
If you know how to make it enable faster or load it simultaneously, please let me know.
Thank you.