-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Flickering when loading elements #805
Comments
(This is not perceivable when motion blur is enabled, but when it is disabled, it is apparent.) |
Labelling as "bug" because of UI/UX implications; adding to 2.3.9 if it can be resolved without much impact/risk on code |
Do you have an example? And could you provide browser/OS info etc? I can't reproduce this. I see the new graph replace the old one without flicker, even with |
Removing from 2.3.9 milestone until reproducible |
Here is a minimal example with the latest version: http://jsbin.com/pelofoqufa/1/edit?html,js,output The flickering is reproducible on Firefox, Chrome, Safari. |
Have you tried It's almost always better not to use As I'll try to add a fix in the meantime, but you may want to avoid |
Snapshot: http://js.cytoscape.org/download/cytoscape.js-snapshot-faf63dac65-1423163894122.zip Please let me know if this works for you, and if so I'll close this. |
Oh, I see, remove() and add() in batch() works nicely: http://jsbin.com/wicune/1/edit?js,output |
If I call load(), the old graph disappears for a short time, then the new one appears. It would be more user-friendly if this flashing did not occur.
The text was updated successfully, but these errors were encountered: