Comments loaded via "load more" aren't in normal keyboard navigation locations.
Steps:
Click load more
Expected:
You can get to by pressing "j" after selecting the comment above
Actual:
You get to the inserted comment by pressing "j" after the last comment
Why?
The "j" and "k" navigation is actually just a list - whenever we add a new comment we append it to the jk navigation list. This assumes that comments are added in order.
Comments loaded via "load more" aren't in normal keyboard navigation locations.
Steps:
Expected:
Actual:
Why?
The "j" and "k" navigation is actually just a list - whenever we add a new comment we append it to the jk navigation list. This assumes that comments are added in order.
I smell the need for refactoring :(