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
Left cards disappear #3
Comments
Looks like your tree is larger than the page, what behaviour would you like to have when this happens? |
@roumilb Added auto scroll and it is not fixed. 😢 |
Hello, I'm having the same issue. Is there any solution you could suggest? |
@Enkkfull I had same issue. I was not able to fix it, So I have used an alternative NPM package. You can also try this. Here is the one, I have used: |
workaround would be to calculate number of cards with no children (with empty string as values), multiply this number by card width + offset. |
I've finally found some time to fix this issue, check the PR :) You can check the new file in the examples folder |
When adding multiple cards in same level the far left cards disapears
`let tree = {
1: {
2: '',
3: {
6: '',
7: ''
},
4: '',
8: '',
9: '',
10: '',
11: '',
12: {
28: '',
29: {
30: '',
31: '',
32: {
35: '',
36: ''
},
33: '',
34: ''
}
},
13: '',
14: '',
15: '',
16: '',
17: '',
18: '',
19: '',
20: '',
21: '',
22: '',
23: '',
24: '',
25: '',
26: '',
27: ''
}
};
The text was updated successfully, but these errors were encountered: