CommentForest.length does not include entries expanded from MoreComments #61
Labels
Comments
|
Any update on this? |
|
This actually really needs to have some fix to it, because as it stands, I have a list view however when I set the number of items, I always receive an error with there being a more comments option. I would at the very least like an option to detect if there are any "more comments" as a way to ensure that I can get 1 minus the length of the comment forest. Any way I can achieve this? |
|
Ok, have found a solution. Simply check if an element is MoreComment with "if (someCommentForest[index] is MoreComment) "... I wonder if that would be easy to check in the actual ".length" property in the CommentForest, might make a pull request for that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This needs to be fixed and additional tests need to be written for comment related functionality.
The text was updated successfully, but these errors were encountered: