-
Notifications
You must be signed in to change notification settings - Fork 321
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
"infinite loop in redraw" warning on browser zoom #17
Comments
@Waddas Thanks for re-reporting this issue. @yotamberk is working (see #5) on the next big release that will fix a lot of issues. We'll see if this problem still exists after the merge. |
I think it will no fix the problem... the same issue was recently opened in Timeline-plus yotamberk/timeline-plus#175 You can also see more information there. |
DISREGARD THIS I AM DUMB. I am experiencing this issue aswell (with the soon to be merged timeline-plus). I don't have browser zoom on, what I am trying to do is load the timline inside a div within a DataTables Cell. It flat out doesn't work, after getting item data via ajax the error message repeats itself a few times and then it just outputs "0" as text. No graph at all. |
Can you supply a simple jsbin so I can try to fix this with a reproducible example? |
@yotamberk Not sure what json you would want to see. If you use the basic example https://visjs.github.io/vis-timeline/examples/timeline/basicUsage.html and reduce the browser zoom to 80%. then resize the browser, you should see the warning in the console. |
@Waddas Thanks. I can confirm this. |
Wow, this is an old bug! see almende/vis#450 for more history! |
Is there any update on this issue? |
🎉 This issue has been resolved in version 6.2.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I'm using the VisJs timeline from the 'almende/vis' repo and come across an issue where if you change the zoom level (80% causes the most problems) then the redraw function gets stuck in a infinite loop. There is a repeated warning in the console 'WARNING: infinite loop in redraw?'.
There is an issue raised in the old repo: Timeline Issue: Sometimes the redraw cycle can become stuck in an infinite loop #450
I've gone through the examples for this repo and i can see is it still occurring. If the old issues are still being tracked then i apologise and feel free to close this one.
The text was updated successfully, but these errors were encountered: