-
Notifications
You must be signed in to change notification settings - Fork 326
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
Fixed group / layer height is buggy and giving "infinite loop in redraw" #108
Comments
Also, observed that when I try to drag the groups, they have the same behavior, they just contract to buggy heights. |
Did a workaround for this because it was really annoying me. I don't really know if the "fixed" group height mode was supposed to set groups to a fixed height, but this is was I did:
This also stopped the warnings in the console. |
I've submitted a PR solving an issue that is very similar to this one. The PR should also solve this issue. |
Closing due to inactivity. Please reopen if the issue is still relevant. |
I'm trying to set a fixed group/layer height.
My current options are
This is the actual working timeline (not fully, it's a wip haha):
http://prntscr.com/p9lh0m
Did some CSS work to make the groups appear 100% height:
When I zoom the timeline, sometimes the groups get invalid heights and collapse themselves (http://prntscr.com/p9lgtx) and sometimes they just flicker and constantly try to update the height every zoom.
Also, I'm receiving
WARNING: infinite loop in redraw?
in the console when I use the zoom, and when the timeline gets drawed in the first time, maybe it can be related to #17?I tried to remove the custom heights from .vis-labelset and .vis-inner, but they also give me the same errors.
Anyways, the only thing that I'm updating is the current time position that I have using
timeline.setCustomTime
, I'm not even touching the redraw functions :(The text was updated successfully, but these errors were encountered: