-
Notifications
You must be signed in to change notification settings - Fork 91
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
The "Basic demo" done in React doesn't work. #9
Comments
Basic demo
done in React doesn't work.
Would appreciate if @willmcclellan or any other contributors can take a look. Thanks. |
@jonathanchrisp or @crewmoss , could you please respond? Thanks. |
It seems that a recent PR merge seems to have broken my code as well. Not sure if it is related to the version lockdown, but I suggest trying if a previous version (e.g. 1.2.0) works for you while this is being investigated.
Update: my guess it's related to no groups being passed. Created a PR to fix this: #10 |
@SukantGujar - apologies for the delay in getting back to you. After checking the steps that @mx781 has covered it does appear that if there are no groups (even though a I believe this issue has always existed but has only been brought to light recently. I've checked @mx781 PR #10 and raised a few comments and can't see why this couldn't be merged once ready. I'll speak to @willmcclellan tomorrow just to make sure we're happy with the changes. |
@yotamberk / @mojoaxel - just thinking is there any reason why the var timeline = new vis.Timeline(container, items, options); I imagine this is quite rare but wondered what your thoughts on this would be... ❓ |
@SukantGujar / @mx781 just to note after some further research this issue doesn't appear when using vis version |
Thanks for taking it up guys. @JonathanCrisp, I first reported this issue for 4.18.0, then downgraded the lib to 4.16.1 and it still occurred. I will recheck once I can though. |
Issue almende/vis#2585 is already fix and awaiting release. |
This still appears to be broken correct? 1.3.1 with any version of vis appears to not render any events. Tested with 4.16.0, 4.16.1, 4.18.1 |
@andrew-c-tran were you testing with @SukantGujar test repo? |
I am also not rendering any events, vis 4.19.1 and vis-react-timeline 1.3.1 |
I tried with However, I notice that when I specify type: 'background', the boxes appear. but not for anything else. Nor do |
@prabuvenkat thanks for updating the issue, we'll try and take a look this week. |
Any updates? |
|
Hi,
I have created a very simple React app here which is basically a (visjs setup-wise) clone of the Basic demo available on visjs documentation site.
However for some reason, the items are not displayed in the React app. I compared the DOM and noticed that there are differences in the vis-group and vis-content nodes - Both are empty in the React app while they contain child nodes in the demo page.
The "Basic demo" looks like this -
And the React test app looks like this -
Any ideas?
I created this small app as a testbed to isolate rendering issues we faced while integrating react-visjs-timeline component in a larger React app.
Note that both the React app and the Basic demo use the same version of visjs library (4.18.0).
Thanks
The text was updated successfully, but these errors were encountered: