emctague / vim-keys-for-reddit

A Safari clone of RES - Adds some keyboard shortcuts to reddit!
https://l.tague.me/vim-keys-for-reddit
MIT License
4 stars 0 forks source link

Comment tree building / rebuilding exhibits odd behaviour. #1

Open emctague opened 4 years ago

emctague commented 4 years ago

After clicking a "Load more comments" button, for example, one of the nearby comments will sometimes be skipped over entirely in the newly built navigation tree.

I think it might be important to take another look at the comment tree system and make adjustments. Building the entire tree first - and then determining next/previous elements after the entire tree is built - may be beneficial.

emctague commented 4 years ago

I've reworked the system to build the whole tree at once. It is still unreliable with loaded sections for some reason. I'll need to take some more time to work on it.